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
+2 -2
View File
@@ -634,11 +634,11 @@ void vsllink_add_path(int start, int num, tap_state_t *path)
vsllink_usb_out_buffer[vsllink_usb_out_buffer_idx] = 0;
}
if (path[i - start] == tap_state_transition(tap_get_state(), TRUE))
if (path[i - start] == tap_state_transition(tap_get_state(), true))
{
vsllink_usb_out_buffer[vsllink_usb_out_buffer_idx] |= 1 << (i & 7);
}
else if (path[i - start] == tap_state_transition(tap_get_state(), FALSE))
else if (path[i - start] == tap_state_transition(tap_get_state(), false))
{
// nothing to do
}