]> git.sur5r.net Git - openocd/commitdiff
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 9911f4463ccb2a2e624f7e9d5cf51ce5e1a136c4..951967e805e65f4d3080217cdf47ac9d13a23a62 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);
        }