diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/jtag.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index f5d6ac01..b4d0cae8 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -599,12 +599,7 @@ void jtag_add_dr_out(jtag_tap_t* tap, void jtag_add_tlr(void) { jtag_prelude(TAP_RESET); - - int retval; - retval=interface_jtag_add_tlr(); - if (retval!=ERROR_OK) - jtag_error=retval; - + jtag_set_error(interface_jtag_add_tlr()); jtag_call_event_callbacks(JTAG_TRST_ASSERTED); } |