Remove accidental duplicate of hasKHz; fixes pre-init speed setup.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2151 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -93,7 +93,7 @@ jtag_event_callback_t *jtag_event_callbacks;
|
|||||||
/* speed in kHz*/
|
/* speed in kHz*/
|
||||||
static int speed_khz = 0;
|
static int speed_khz = 0;
|
||||||
/* flag if the kHz speed was defined */
|
/* flag if the kHz speed was defined */
|
||||||
static bool hasKHz = false;
|
bool hasKHz = false;
|
||||||
|
|
||||||
struct jtag_interface_s *jtag = NULL;
|
struct jtag_interface_s *jtag = NULL;
|
||||||
|
|
||||||
|
|||||||
@@ -39,8 +39,7 @@
|
|||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* flag if the kHz speed was defined */
|
extern bool hasKHz;
|
||||||
static bool hasKHz = false;
|
|
||||||
|
|
||||||
/* jtag interfaces (parport, FTDI-USB, TI-USB, ...)
|
/* jtag interfaces (parport, FTDI-USB, TI-USB, ...)
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user