marker for in_handler to remove
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 7 May 2009 14:22:15 +0000 (14:22 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 7 May 2009 14:22:15 +0000 (14:22 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1649 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/arm_jtag.c

index 9911f44..951967e 100644 (file)
@@ -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);
        }