]> git.sur5r.net Git - openocd/commitdiff
- fix typo in jtag_add_end_state
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 23 Jul 2008 21:31:43 +0000 (21:31 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 23 Jul 2008 21:31:43 +0000 (21:31 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@863 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/jtag.c

index 6199ed29cdb3381387d2b7e9f2047f25e6802431..aae147252952ac57de7d12ebb9373d28091388d4 100644 (file)
@@ -1042,7 +1042,7 @@ int MINIDRIVER(interface_jtag_add_reset)(int req_trst, int req_srst)
 void jtag_add_end_state(enum tap_state state)
 {
        cmd_queue_end_state = state;
-       if ((cmd_queue_end_state == TAP_SD)||(cmd_queue_end_state == TAP_SD))
+       if ((cmd_queue_end_state == TAP_SD)||(cmd_queue_end_state == TAP_SI))
        {
                LOG_ERROR("BUG: TAP_SD/SI can't be end state. Calling code should use a larger scan field");
        }