diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-06 07:21:46 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-06 07:21:46 +0000 |
commit | e86dee32004d750e8654fe449bfcdffaed7339fa (patch) | |
tree | e3ecf5d73d7ef84947d3f80d443b5d6c3cf1b600 /src/svf | |
parent | 7e50a3977327c52e9e04f9cf3ac1cd0a54f042b2 (diff) | |
download | openocd+libswd-e86dee32004d750e8654fe449bfcdffaed7339fa.tar.gz openocd+libswd-e86dee32004d750e8654fe449bfcdffaed7339fa.tar.bz2 openocd+libswd-e86dee32004d750e8654fe449bfcdffaed7339fa.tar.xz openocd+libswd-e86dee32004d750e8654fe449bfcdffaed7339fa.zip |
remove unecessary setting of deprecated fields to NULL
git-svn-id: svn://svn.berlios.de/openocd/trunk@1611 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/svf')
-rw-r--r-- | src/svf/svf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/svf/svf.c b/src/svf/svf.c index 6c92c1e1..00e88361 100644 --- a/src/svf/svf.c +++ b/src/svf/svf.c @@ -977,10 +977,10 @@ static int svf_run_command(struct command_context_s *cmd_ctx, char *cmd_str) field.out_value = &svf_tdi_buffer[svf_buffer_index]; field.in_value = &svf_tdi_buffer[svf_buffer_index]; - field.in_check_value = NULL; - field.in_check_mask = NULL; + + field.in_handler = NULL; - field.in_handler_priv = NULL; + jtag_add_plain_dr_scan(1, &field, svf_para.dr_end_state); svf_buffer_index += (i + 7) >> 3; @@ -1078,10 +1078,10 @@ static int svf_run_command(struct command_context_s *cmd_ctx, char *cmd_str) field.out_value = &svf_tdi_buffer[svf_buffer_index]; field.in_value = &svf_tdi_buffer[svf_buffer_index]; - field.in_check_value = NULL; - field.in_check_mask = NULL; + + field.in_handler = NULL; - field.in_handler_priv = NULL; + jtag_add_plain_ir_scan(1, &field, svf_para.ir_end_state); svf_buffer_index += (i + 7) >> 3; |