diff options
author | Eric Wetzel <thewetzel@gmail.com> | 2009-11-26 07:54:45 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-26 07:57:51 -0800 |
commit | 3f8aa3cb035a97988fd38dfb08db5a4224f4b591 (patch) | |
tree | 8cc32952c3dadc183bbf4d5daf0f975420d0ba8c /src/helper/startup.tcl | |
parent | 2653b8030722c85393974cd6c0ebcdbd1ae27c72 (diff) | |
download | openocd+libswd-3f8aa3cb035a97988fd38dfb08db5a4224f4b591.tar.gz openocd+libswd-3f8aa3cb035a97988fd38dfb08db5a4224f4b591.tar.bz2 openocd+libswd-3f8aa3cb035a97988fd38dfb08db5a4224f4b591.tar.xz openocd+libswd-3f8aa3cb035a97988fd38dfb08db5a4224f4b591.zip |
fix 'flash protect' and 'flash erase_sector'
Command upgrading introduced two off-by-one bugs in the flash commands.
This patch fixes the 'flash {protect,erase_sector}' commands to check
that they have been passed the correct number of arguments.
Ammended during commit to fix help text for 'erase_address' too.
Diffstat (limited to 'src/helper/startup.tcl')
0 files changed, 0 insertions, 0 deletions