]> git.sur5r.net Git - openocd/commitdiff
fix for gaffe in 555 that stopped JTAG chain examine + validate from running.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 16 Apr 2008 19:17:15 +0000 (19:17 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 16 Apr 2008 19:17:15 +0000 (19:17 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@588 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/jtag.c

index 74f00900c0a77899a0e4d63151c27b62246c58bd..17f212c3337f52796e7f365f67fea04c9251b731 100644 (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 */