diff --git a/src/target/arm_jtag.c b/src/target/arm_jtag.c index 9911f4463..951967e80 100644 --- a/src/target/arm_jtag.c +++ b/src/target/arm_jtag.c @@ -52,12 +52,12 @@ int arm_jtag_set_instr(arm_jtag_t *jtag_info, u32 new_instr, in_handler_t handl field.num_bits = tap->ir_length; field.out_value = t; buf_set_u32(field.out_value, 0, field.num_bits, new_instr); - + field.in_value = NULL; - - - field.in_handler = handler; - + + + field.in_handler = handler; /* deprecated! move into calling code */ + jtag_add_ir_scan(1, &field, TAP_INVALID); }