From a6d6a94c9dd3708eec2f980d42f1b1f0e155b61f Mon Sep 17 00:00:00 2001 From: oharboe Date: Fri, 29 Feb 2008 21:51:17 +0000 Subject: [PATCH] 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 --- src/target/arm_jtag.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5