From: oharboe Date: Wed, 16 Apr 2008 19:17:15 +0000 (+0000) Subject: fix for gaffe in 555 that stopped JTAG chain examine + validate from running. X-Git-Tag: v0.1.0~701 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=a13764b5d0619648b67bdc5435f69ca903b18736 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 --- diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index 74f00900c0..17f212c333 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 */