summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-23 21:31:43 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-23 21:31:43 +0000
commit65b4c4117de2f07d5daaf46cffb97a6dd4d70ffc (patch)
treebbf37d6c448af30a9d49a6f488ee09f8b0c86178 /src
parentbf58fe650992825fe6bf740a07a7e197d92b0b99 (diff)
downloadopenocd_libswd-65b4c4117de2f07d5daaf46cffb97a6dd4d70ffc.tar.gz
openocd_libswd-65b4c4117de2f07d5daaf46cffb97a6dd4d70ffc.tar.bz2
openocd_libswd-65b4c4117de2f07d5daaf46cffb97a6dd4d70ffc.tar.xz
openocd_libswd-65b4c4117de2f07d5daaf46cffb97a6dd4d70ffc.zip
- fix typo in jtag_add_end_state
git-svn-id: svn://svn.berlios.de/openocd/trunk@863 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 6199ed29..aae14725 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -1042,7 +1042,7 @@ int MINIDRIVER(interface_jtag_add_reset)(int req_trst, int req_srst)
void jtag_add_end_state(enum tap_state state)
{
cmd_queue_end_state = state;
- if ((cmd_queue_end_state == TAP_SD)||(cmd_queue_end_state == TAP_SD))
+ if ((cmd_queue_end_state == TAP_SD)||(cmd_queue_end_state == TAP_SI))
{
LOG_ERROR("BUG: TAP_SD/SI can't be end state. Calling code should use a larger scan field");
}