diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-09 02:23:27 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-09 02:23:27 +0000 |
commit | 9f185eef7d69e3c9d4390f5f7dd78a7644b01c80 (patch) | |
tree | 12328cf7849dc9e387e44cb4b0aef4974c402003 /PATCHES | |
parent | 1c74d0e3a4037400e81147b15e2da09b033fb46f (diff) | |
download | openocd+libswd-9f185eef7d69e3c9d4390f5f7dd78a7644b01c80.tar.gz openocd+libswd-9f185eef7d69e3c9d4390f5f7dd78a7644b01c80.tar.bz2 openocd+libswd-9f185eef7d69e3c9d4390f5f7dd78a7644b01c80.tar.xz openocd+libswd-9f185eef7d69e3c9d4390f5f7dd78a7644b01c80.zip |
Simplify and fix bug in jtag_tap_by_string:
- Bug fix: Use unsigned type and strtoul when parsing for position number.
- Simplify logic by returning directly when a tap is found by name.
- Reduce scope: declare temporary variables with first use.
- Bring code up to current style guidelines.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2141 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'PATCHES')
0 files changed, 0 insertions, 0 deletions