mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-29 17:39:36 +02:00
jtag: fix warning (uninitialized tms)
This commit is contained in:
+1
-1
@@ -450,7 +450,7 @@ int Jtag::shiftIR(unsigned char *tdi, unsigned char *tdo, int irlen, int end_sta
|
||||
|
||||
void Jtag::set_state(int newState)
|
||||
{
|
||||
unsigned char tms;
|
||||
unsigned char tms = 0;
|
||||
while (newState != _state) {
|
||||
display("_state : %16s(%02d) -> %s(%02d) ",
|
||||
getStateName((tapState_t)_state),
|
||||
|
||||
Reference in New Issue
Block a user