diff options
author | kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-02-10 18:21:17 +0000 |
---|---|---|
committer | kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-02-10 18:21:17 +0000 |
commit | e77ae9096a40707d3b878b46969a60a06656dc06 (patch) | |
tree | 356ba1722b9c2f83e4723c404ecbeac3a71615f3 /src/jtag/jlink.c | |
parent | 725749de206e24b2d54f0ac72296f545baca3007 (diff) | |
download | riscv-openocd-e77ae9096a40707d3b878b46969a60a06656dc06.zip riscv-openocd-e77ae9096a40707d3b878b46969a60a06656dc06.tar.gz riscv-openocd-e77ae9096a40707d3b878b46969a60a06656dc06.tar.bz2 |
Use C89/C99/C++ compliant boolean types
git-svn-id: svn://svn.berlios.de/openocd/trunk@1370 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jlink.c')
-rw-r--r-- | src/jtag/jlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c index 26f9233..bfd3a78 100644 --- a/src/jtag/jlink.c +++ b/src/jtag/jlink.c @@ -366,11 +366,11 @@ void jlink_path_move(int num_states, tap_state_t *path) for (i = 0; i < num_states; i++) { - if (path[i] == tap_state_transition(tap_get_state(), FALSE)) + if (path[i] == tap_state_transition(tap_get_state(), false)) { jlink_tap_append_step(0, 0); } - else if (path[i] == tap_state_transition(tap_get_state(), TRUE)) + else if (path[i] == tap_state_transition(tap_get_state(), true)) { jlink_tap_append_step(1, 0); } |