summaryrefslogtreecommitdiff
path: root/testing/examples/LPC2148Test/inc
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-13 00:34:10 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-13 00:34:10 +0000
commitf7afcfe23fe6edba0ddc755db47a71855af047fa (patch)
tree262f06e2a7e8f62ba7656aa036c8e064996eebcc /testing/examples/LPC2148Test/inc
parentd0a300e0a07bce4039eae1852a6fc28160d63a03 (diff)
downloadopenocd_libswd-f7afcfe23fe6edba0ddc755db47a71855af047fa.tar.gz
openocd_libswd-f7afcfe23fe6edba0ddc755db47a71855af047fa.tar.bz2
openocd_libswd-f7afcfe23fe6edba0ddc755db47a71855af047fa.tar.xz
openocd_libswd-f7afcfe23fe6edba0ddc755db47a71855af047fa.zip
Cleanup and improve handle_wp_command and handle_rwp_command:
- Simplify argument parsing logic using switch statement. - Use parse_u32 to ensure all values parse properly. - Return syntax error when mode argument fails to parse. git-svn-id: svn://svn.berlios.de/openocd/trunk@2236 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'testing/examples/LPC2148Test/inc')
0 files changed, 0 insertions, 0 deletions