summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2010-10-24 16:28:48 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-10-25 08:05:23 +0200
commitf176278e98536981a212c0cfcee75ec94ab2c158 (patch)
tree713328458dde9ce1af8c309d348846a5fbcafc93 /src
parente7d26173fcd41640a85b9e315868768d7f297cda (diff)
downloadopenocd+libswd-f176278e98536981a212c0cfcee75ec94ab2c158.tar.gz
openocd+libswd-f176278e98536981a212c0cfcee75ec94ab2c158.tar.bz2
openocd+libswd-f176278e98536981a212c0cfcee75ec94ab2c158.tar.xz
openocd+libswd-f176278e98536981a212c0cfcee75ec94ab2c158.zip
Make systesetreq typos read sysresetreq instead
Signed-off-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'src')
-rw-r--r--src/target/cortex_m3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/cortex_m3.c b/src/target/cortex_m3.c
index 3011b597..3f080f13 100644
--- a/src/target/cortex_m3.c
+++ b/src/target/cortex_m3.c
@@ -2127,7 +2127,7 @@ COMMAND_HANDLER(handle_cortex_m3_reset_config_command)
if (CMD_ARGC > 0)
{
- if (strcmp(*CMD_ARGV, "systesetreq") == 0)
+ if (strcmp(*CMD_ARGV, "sysresetreq") == 0)
cortex_m3->soft_reset_config = CORTEX_M3_RESET_SYSRESETREQ;
else if (strcmp(*CMD_ARGV, "vectreset") == 0)
cortex_m3->soft_reset_config = CORTEX_M3_RESET_VECTRESET;