From: <kc...@ma...> - 2009-02-10 17:11:10
|
Author: kc8apf Date: 2009-02-10 17:11:07 +0100 (Tue, 10 Feb 2009) New Revision: 1369 Modified: trunk/src/jtag/jtag.c Log: A few more usages of TRUE and FALSE to remove Modified: trunk/src/jtag/jtag.c =================================================================== --- trunk/src/jtag/jtag.c 2009-02-09 14:47:34 UTC (rev 1368) +++ trunk/src/jtag/jtag.c 2009-02-10 16:11:07 UTC (rev 1369) @@ -957,8 +957,8 @@ 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); |