]> git.sur5r.net Git - openocd/commitdiff
added an #error in case anybody tries to compile that broken code.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 29 Feb 2008 21:51:17 +0000 (21:51 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 29 Feb 2008 21:51:17 +0000 (21:51 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@404 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/arm_jtag.c

index 7a9e8786f730a0085c94267788f191c665c6668a..02dc2e19c3fa5bdcfc6ff0961bb9ab91551ae2d1 100644 (file)
@@ -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;