summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/arm_jtag.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/target/arm_jtag.c b/src/target/arm_jtag.c
index 9911f446..951967e8 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);
}