summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-08 09:37:25 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-08 09:37:25 +0000
commit4df87471ca53417fdcbe3285db4b70d710414a24 (patch)
tree6bbc255c00532f9b6e521f44a9411accd1ed2f72 /src
parent84dfdd4de680d2f16275dee2445c5bfcaa363538 (diff)
downloadopenocd+libswd-4df87471ca53417fdcbe3285db4b70d710414a24.tar.gz
openocd+libswd-4df87471ca53417fdcbe3285db4b70d710414a24.tar.bz2
openocd+libswd-4df87471ca53417fdcbe3285db4b70d710414a24.tar.xz
openocd+libswd-4df87471ca53417fdcbe3285db4b70d710414a24.zip
fix one gaffe in previous commit.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1671 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 e02b91f0..28b648bf 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -1391,7 +1391,7 @@ int jtag_check_value_inner(u8 *captured, scan_field_t *field, u8 *in_check_value
int compare_failed = 0;
- if (field->in_check_mask)
+ if (in_check_mask)
compare_failed = buf_cmp_mask(captured, in_check_value, in_check_mask, num_bits);
else
compare_failed = buf_cmp(captured, in_check_value, num_bits);