From: oharboe Date: Fri, 29 Feb 2008 21:51:17 +0000 (+0000) Subject: added an #error in case anybody tries to compile that broken code. X-Git-Tag: v0.1.0~885 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a6d6a94c9dd3708eec2f980d42f1b1f0e155b61f;p=openocd 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 --- 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;