X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a4ff62be63ca2a81071e9aa2b882bd3ff57f13ad..fd6675219387500f61bfdcde608e326d30ff904b:/client/cmdhficlass.c diff --git a/client/cmdhficlass.c b/client/cmdhficlass.c index 1400395a..93e46b67 100644 --- a/client/cmdhficlass.c +++ b/client/cmdhficlass.c @@ -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; }