diff options
-rw-r--r-- | src/jtag/core.c | 2 | ||||
-rw-r--r-- | src/jtag/tcl.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/jtag/core.c b/src/jtag/core.c index eee20119..1bcf7dc1 100644 --- a/src/jtag/core.c +++ b/src/jtag/core.c @@ -93,7 +93,7 @@ jtag_event_callback_t *jtag_event_callbacks; /* speed in kHz*/ static int speed_khz = 0; /* flag if the kHz speed was defined */ -static bool hasKHz = false; +bool hasKHz = false; struct jtag_interface_s *jtag = NULL; diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c index c3344b83..04f45bd8 100644 --- a/src/jtag/tcl.c +++ b/src/jtag/tcl.c @@ -39,8 +39,7 @@ #include <strings.h> #endif -/* flag if the kHz speed was defined */ -static bool hasKHz = false; +extern bool hasKHz; /* jtag interfaces (parport, FTDI-USB, TI-USB, ...) */ |