]> git.sur5r.net Git - openocd/blobdiff - src/xsvf/xsvf.c
Use C89/C99/C++ compliant boolean types
[openocd] / src / xsvf / xsvf.c
index 855021df75118ee59b54b9844caa06bd30d51743..e3153a3e03e34cea2641a33212130344746e8b1c 100644 (file)
@@ -201,11 +201,11 @@ static void xsvf_add_statemove(tap_state_t state)
                int j = (move >> i) & 1;
                if (j)
                {
-                       curstate = tap_state_transition(curstate, TRUE);
+                       curstate = tap_state_transition(curstate, true);
                }
                else
                {
-                       curstate = tap_state_transition(curstate, FALSE);
+                       curstate = tap_state_transition(curstate, false);
                }
                moves[i] = curstate;
        }