diff options
author | mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-18 10:08:13 +0000 |
---|---|---|
committer | mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-18 10:08:13 +0000 |
commit | 0bba832713cca8e5931d5d21f37f526d0a3979cf (patch) | |
tree | a6c657cd1661df9fca66bd97b26d9d9823ae4ca5 /src/jtag/vsllink.c | |
parent | 13de2d2fefb80b93aa0bde9bcd447b7e1bb24c47 (diff) |
The following patches was applied:
- openocd-flash-static-keyword-v3.patch
- openocd-lpc2000-fix-erase-obo.patch
- openocd-jlink-fix-sign-ptr-warn.patch
- openocd-wextra-etm.patch
- openocd-wextra-jtag.patch
- openocd-add-new-tap-symbols-v6.patch
Many thanks to Zach Welch <zw(at)superlucidity.net>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1462 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/vsllink.c')
-rw-r--r-- | src/jtag/vsllink.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jtag/vsllink.c b/src/jtag/vsllink.c index 8cf7e52e..33b2cac1 100644 --- a/src/jtag/vsllink.c +++ b/src/jtag/vsllink.c @@ -269,7 +269,7 @@ int vsllink_execute_queue(void) case JTAG_END_STATE: DEBUG_JTAG_IO("end_state: %s", tap_state_name(cmd->cmd.end_state->end_state)); - if (cmd->cmd.end_state->end_state != -1) + if (cmd->cmd.end_state->end_state != TAP_INVALID) { vsllink_end_state(cmd->cmd.end_state->end_state); } @@ -279,7 +279,7 @@ int vsllink_execute_queue(void) DEBUG_JTAG_IO( "runtest %i cycles, end in %s", cmd->cmd.runtest->num_cycles, \ tap_state_name(cmd->cmd.runtest->end_state)); - if (cmd->cmd.runtest->end_state != -1) + if (cmd->cmd.runtest->end_state != TAP_INVALID) { vsllink_end_state(cmd->cmd.runtest->end_state); } @@ -289,7 +289,7 @@ int vsllink_execute_queue(void) case JTAG_STATEMOVE: DEBUG_JTAG_IO("statemove end in %s", tap_state_name(cmd->cmd.statemove->end_state)); - if (cmd->cmd.statemove->end_state != -1) + if (cmd->cmd.statemove->end_state != TAP_INVALID) { vsllink_end_state(cmd->cmd.statemove->end_state); } @@ -305,7 +305,7 @@ int vsllink_execute_queue(void) break; case JTAG_SCAN: - if (cmd->cmd.scan->end_state != -1) + if (cmd->cmd.scan->end_state != TAP_INVALID) { vsllink_end_state(cmd->cmd.scan->end_state); } |