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
This commit is contained in:
oharboe 2008-04-16 19:17:15 +00:00
parent 78489fb230
commit a13764b5d0
1 changed files with 2 additions and 2 deletions

View File

@ -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 */