Minor fix with previous cache-removal

This commit is contained in:
Martin Holst Swende 2015-07-20 23:22:33 +02:00
parent d2deaf7bcf
commit 23931c11d5

View file

@ -409,7 +409,7 @@ int CmdVersion(const char *Cmd)
UsbCommand resp = {0, {0, 0, 0}};
SendCommand(&c);
if (WaitForResponseTimeout(CMD_ACK,&resp,1000) && Cmd != NULL) {
if (WaitForResponseTimeout(CMD_ACK,&resp,1000)) {
PrintAndLog("Prox/RFID mark3 RFID instrument");
PrintAndLog((char*)resp.d.asBytes);
lookupChipID(resp.arg[0], resp.arg[1]);