summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-29 21:51:17 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-29 21:51:17 +0000
commita6d6a94c9dd3708eec2f980d42f1b1f0e155b61f (patch)
tree26c006f679ff1f436e2a7e8ca23f006f7318d380 /src/target
parent4cb9b179059bb40badde110da5641dcbbd636a29 (diff)
downloadopenocd+libswd-a6d6a94c9dd3708eec2f980d42f1b1f0e155b61f.tar.gz
openocd+libswd-a6d6a94c9dd3708eec2f980d42f1b1f0e155b61f.tar.bz2
openocd+libswd-a6d6a94c9dd3708eec2f980d42f1b1f0e155b61f.tar.xz
openocd+libswd-a6d6a94c9dd3708eec2f980d42f1b1f0e155b61f.zip
added an #error in case anybody tries to compile that broken code.
git-svn-id: svn://svn.berlios.de/openocd/trunk@404 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r--src/target/arm_jtag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/arm_jtag.c b/src/target/arm_jtag.c
index 7a9e8786..02dc2e19 100644
--- a/src/target/arm_jtag.c
+++ b/src/target/arm_jtag.c
@@ -76,6 +76,7 @@ int arm_jtag_scann(arm_jtag_t *jtag_info, u32 new_scan_chain)
field.out_mask = NULL;
field.in_value = NULL;
#ifdef _ARM_JTAG_SCAN_N_CHECK_
+#error FIX!!! this is broken, scan_n_check_value goes out of scope.
jtag_set_check_value(&field, &scan_n_check_value, NULL, NULL, NULL);
#else
field.in_handler = NULL;