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:
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user