summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-16 19:17:15 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-16 19:17:15 +0000
commita13764b5d0619648b67bdc5435f69ca903b18736 (patch)
tree02845956f27a4ca0f58119a3b0f3b9099ef0d5d8 /src
parent78489fb230408d236accaa2ed7e76e75bda5f609 (diff)
downloadopenocd+libswd-a13764b5d0619648b67bdc5435f69ca903b18736.tar.gz
openocd+libswd-a13764b5d0619648b67bdc5435f69ca903b18736.tar.bz2
openocd+libswd-a13764b5d0619648b67bdc5435f69ca903b18736.tar.xz
openocd+libswd-a13764b5d0619648b67bdc5435f69ca903b18736.zip
fix for gaffe in 555 that stopped JTAG chain examine + validate from running.
git-svn-id: svn://svn.berlios.de/openocd/trunk@588 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/jtag/jtag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index 74f00900..17f212c3 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -1523,7 +1523,7 @@ static int jtag_init_inner(struct command_context_s *cmd_ctx)
jtag_device_t *device;
int retval;
- LOG_DEBUG("-");
+ LOG_DEBUG("Init JTAG chain");
device = jtag_devices;
jtag_ir_scan_size = 0;
@@ -1536,7 +1536,7 @@ static int jtag_init_inner(struct command_context_s *cmd_ctx)
}
jtag_add_tlr();
- if ((retval=jtag_execute_queue())==ERROR_OK)
+ if ((retval=jtag_execute_queue())!=ERROR_OK)
return retval;
/* examine chain first, as this could discover the real chain layout */