Use C89/C99/C++ compliant boolean types
git-svn-id: svn://svn.berlios.de/openocd/trunk@1370 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -927,11 +927,11 @@ void rlink_path_move(pathmove_command_t *cmd)
|
||||
state_count = 0;
|
||||
while (num_states)
|
||||
{
|
||||
if (tap_state_transition(tap_get_state(), FALSE) == cmd->path[state_count])
|
||||
if (tap_state_transition(tap_get_state(), false) == cmd->path[state_count])
|
||||
{
|
||||
tms = 0;
|
||||
}
|
||||
else if (tap_state_transition(tap_get_state(), TRUE) == cmd->path[state_count])
|
||||
else if (tap_state_transition(tap_get_state(), true) == cmd->path[state_count])
|
||||
{
|
||||
tms = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user