]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmf.c
fix WaitForResponse (without timeout)
[proxmark3-svn] / client / cmdhfmf.c
index 93c3ea65c37a00026b8b4d2b6012c6f23178d25d..33790230fa7324ccae4529f0400fd1f3d26154fa 100644 (file)
@@ -2672,7 +2672,7 @@ int CmdHF14AMfSniff(const char *Cmd){
                }\r
 \r
                UsbCommand resp;\r
                }\r
 \r
                UsbCommand resp;\r
-               if (WaitForResponseTimeoutW(CMD_ACK, &resp, 2000, false)) {\r
+               if (WaitForResponseTimeoutW(CMD_UNKNOWN, &resp, 2000, false)) {\r
                        res = resp.arg[0] & 0xff;\r
                        uint16_t traceLen = resp.arg[1];\r
                        len = resp.arg[2];\r
                        res = resp.arg[0] & 0xff;\r
                        uint16_t traceLen = resp.arg[1];\r
                        len = resp.arg[2];\r
Impressum, Datenschutz