]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhw.c
fix typo
[proxmark3-svn] / client / cmdhw.c
index 7218f3e9ab33b60508f82d1451ff5a91f6453d1e..2b6f95187512a16c0e7fa8e9fda265d2aff457ad 100644 (file)
@@ -409,7 +409,7 @@ int CmdVersion(const char *Cmd)
        UsbCommand resp = {0, {0, 0, 0}};
 
        SendCommand(&c);
        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]);
                PrintAndLog("Prox/RFID mark3 RFID instrument");
                PrintAndLog((char*)resp.d.asBytes);
                lookupChipID(resp.arg[0], resp.arg[1]);
Impressum, Datenschutz