]> git.sur5r.net Git - openocd/blobdiff - src/jtag/bitq.c
Use C89/C99/C++ compliant boolean types
[openocd] / src / jtag / bitq.c
index 392e3d3da9017e262abc75eb46e97869ff66c288..0d71c3018061ed9b033f7ddcf17745853b90e2ad 100644 (file)
@@ -194,9 +194,9 @@ void bitq_path_move(pathmove_command_t* cmd)
 
        for (i = 0; i<=cmd->num_states; i++)
        {
-               if (tap_state_transition(tap_get_state(), FALSE) == cmd->path[i])
+               if (tap_state_transition(tap_get_state(), false) == cmd->path[i])
                        bitq_io(0, 0, 0);
-               else if (tap_state_transition(tap_get_state(), TRUE) == cmd->path[i])
+               else if (tap_state_transition(tap_get_state(), true) == cmd->path[i])
                        bitq_io(1, 0, 0);
                else
                {