]> git.sur5r.net Git - openocd/commitdiff
A few more usages of TRUE and FALSE to remove
authorkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 10 Feb 2009 16:11:07 +0000 (16:11 +0000)
committerkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 10 Feb 2009 16:11:07 +0000 (16:11 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1369 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/jtag.c

index c06244a0065ce70dfb41667e8c9d2e37c7e18af1..b811cb7d5a58377f13770ddbd2e427348d80c181 100644 (file)
@@ -957,8 +957,8 @@ void jtag_add_pathmove(int num_states, tap_state_t *path)
                        LOG_ERROR("BUG: TAP_RESET is not a valid state for pathmove sequences");
                        exit(-1);
                }
-               if ( tap_state_transition(cur_state, TRUE)  != path[i]
-                 && tap_state_transition(cur_state, FALSE) != path[i])
+               if ( tap_state_transition(cur_state, 1)  != path[i]
+                 && tap_state_transition(cur_state, 0) != path[i])
                {
                        LOG_ERROR("BUG: %s -> %s isn't a valid TAP transition", tap_state_name(cur_state), tap_state_name(path[i]));
                        exit(-1);