summaryrefslogtreecommitdiff
path: root/src/flash/str9xpec.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-17 13:52:43 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-19 13:39:41 -0800
commitdd44ae18b49f6cb54a4c361e9fab70f4d0fafeec (patch)
tree0c1366698351edc62b24c01969992c555623168d /src/flash/str9xpec.h
parentff25e76bad7e57da4ebd363f1b35d4af04acaa67 (diff)
downloadopenocd+libswd-dd44ae18b49f6cb54a4c361e9fab70f4d0fafeec.tar.gz
openocd+libswd-dd44ae18b49f6cb54a4c361e9fab70f4d0fafeec.tar.bz2
openocd+libswd-dd44ae18b49f6cb54a4c361e9fab70f4d0fafeec.tar.xz
openocd+libswd-dd44ae18b49f6cb54a4c361e9fab70f4d0fafeec.zip
refactor handle_flash_bank_command
Move variables to point of first use, reducing their scope. Add driver_name temporary to help arguments be changed later. Eliminates the useless 'found' variable, changing the code to terminate the loop immediate and return its success.
Diffstat (limited to 'src/flash/str9xpec.h')
0 files changed, 0 insertions, 0 deletions