summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-24 10:17:12 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-24 10:17:12 +0000
commitb2dbb07f27dca3dd029f3685475a9eadd1ba65f9 (patch)
tree195a7712ea74504b8e43e3cfd5b1f412610c71ea /src
parent91a16a38101821ed8813de753a0624f892cd669c (diff)
downloadopenocd_libswd-b2dbb07f27dca3dd029f3685475a9eadd1ba65f9.tar.gz
openocd_libswd-b2dbb07f27dca3dd029f3685475a9eadd1ba65f9.tar.bz2
openocd_libswd-b2dbb07f27dca3dd029f3685475a9eadd1ba65f9.tar.xz
openocd_libswd-b2dbb07f27dca3dd029f3685475a9eadd1ba65f9.zip
allow jtag minidriver access to cmd_queue_cur_state for jtag_add_pathmove()
git-svn-id: svn://svn.berlios.de/openocd/trunk@867 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/jtag/jtag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index aae14725..cbf52f09 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -862,9 +862,9 @@ void jtag_add_pathmove(int num_states, enum tap_state *path)
jtag_prelude1();
- cmd_queue_cur_state = path[num_states - 1];
retval=interface_jtag_add_pathmove(num_states, path);
+ cmd_queue_cur_state = path[num_states - 1];
if (retval!=ERROR_OK)
jtag_error=retval;
}