X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fjtag%2Fjlink.c;h=04ce65c31f4f60675a428dd37398eb7ef0269503;hb=f7274784a22e975dbab6a8b24770b652a813e64d;hp=6d40b56dbd0d6304c5286a38de9e3629b553a721;hpb=c45de8073d027f1a4d39640dc140666f27960e3b;p=openocd.git diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c index 6d40b56dbd..04ce65c31f 100644 --- a/src/jtag/jlink.c +++ b/src/jtag/jlink.c @@ -376,7 +376,7 @@ void jlink_path_move(int num_states, enum tap_state *path) } else { - LOG_ERROR("BUG: %s -> %s isn't a valid TAP transition", tap_state_strings[cur_state], tap_state_strings[path[i]]); + LOG_ERROR("BUG: %s -> %s isn't a valid TAP transition", jtag_state_name(cur_state), jtag_state_name(path[i])); exit(-1); } @@ -392,7 +392,7 @@ void jlink_runtest(int num_cycles) enum tap_state saved_end_state = end_state; - /* only do a state_move when we're not already in RTI */ + /* only do a state_move when we're not already in IDLE */ if (cur_state != TAP_IDLE) { jlink_end_state(TAP_IDLE);