]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhficlass.c
Fix some printf/scanf format strings
[proxmark3-svn] / client / cmdhficlass.c
index 1400395aa8dbb97ca1b78d23ce54ddab3175de3f..93e46b679e7a43c007bdfcde7f6af95c46a4c2b6 100644 (file)
@@ -333,7 +333,7 @@ int HFiClassReader(bool loop, bool verbose) {
 
        while (!ukbhit()) {
                SendCommand(&c);
-               if (WaitForResponseTimeout(CMD_ACK,&resp, 4500)) {
+               if (WaitForResponseTimeout(CMD_ACK, &resp, 1000)) {
                        uint8_t readStatus = resp.arg[0] & 0xff;
                        uint8_t *data = resp.d.asBytes;
 
@@ -368,7 +368,8 @@ int HFiClassReader(bool loop, bool verbose) {
 
                        if (tagFound && !loop) return 1;
                } else {
-                       if (verbose) PrintAndLog("Command execute timeout");
+                       if (verbose) PrintAndLog("Error: No response from Proxmark.");
+                       break;
                }
                if (!loop) break;
        }
Impressum, Datenschutz