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:
kc8apf
2009-02-10 18:21:17 +00:00
parent 725749de20
commit e77ae9096a
14 changed files with 54 additions and 30 deletions

View File

@@ -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;
}