From: oharboe Date: Thu, 7 May 2009 14:22:15 +0000 (+0000) Subject: marker for in_handler to remove X-Git-Tag: v0.2.0~856 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bb994f53cc0fc87e0b05c1915e98b6edbc6f92fa;p=openocd marker for in_handler to remove git-svn-id: svn://svn.berlios.de/openocd/trunk@1649 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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); }