diff options
author | kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-02-10 16:11:07 +0000 |
---|---|---|
committer | kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-02-10 16:11:07 +0000 |
commit | 725749de206e24b2d54f0ac72296f545baca3007 (patch) | |
tree | e97e71ab64f0580dcbdfac537f67bc4f1d090c41 /src | |
parent | 5a90a66aa35ba898df0ccebef34f0b350930512c (diff) | |
download | openocd_libswd-725749de206e24b2d54f0ac72296f545baca3007.tar.gz openocd_libswd-725749de206e24b2d54f0ac72296f545baca3007.tar.bz2 openocd_libswd-725749de206e24b2d54f0ac72296f545baca3007.tar.xz openocd_libswd-725749de206e24b2d54f0ac72296f545baca3007.zip |
A few more usages of TRUE and FALSE to remove
git-svn-id: svn://svn.berlios.de/openocd/trunk@1369 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/jtag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index c06244a0..b811cb7d 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -957,8 +957,8 @@ void jtag_add_pathmove(int num_states, tap_state_t *path) LOG_ERROR("BUG: TAP_RESET is not a valid state for pathmove sequences"); exit(-1); } - if ( tap_state_transition(cur_state, TRUE) != path[i] - && tap_state_transition(cur_state, FALSE) != path[i]) + if ( tap_state_transition(cur_state, 1) != path[i] + && tap_state_transition(cur_state, 0) != path[i]) { LOG_ERROR("BUG: %s -> %s isn't a valid TAP transition", tap_state_name(cur_state), tap_state_name(path[i])); exit(-1); |