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:
zwelch 2009-06-09 04:39:54 +00:00
parent aed24a5946
commit 8e081cf401
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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, ...)
*/