]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: increased time-out to match 2.7sec it takes to write 256bytes.
authoriceman1001 <iceman@iuse.se>
Sun, 9 Oct 2016 13:49:59 +0000 (15:49 +0200)
committericeman1001 <iceman@iuse.se>
Sun, 9 Oct 2016 13:49:59 +0000 (15:49 +0200)
client/cmdhflegic.c

index b2d207e5856bb4cd41ff4b4fb474050ef6843e16..a68d29a719d2fbe5c63acbe24904cea47b1d21bd 100644 (file)
@@ -1035,7 +1035,7 @@ int CmdLegicRestore(const char *Cmd){
                clearCommandBuffer();
                SendCommand(&c);
        
                clearCommandBuffer();
                SendCommand(&c);
        
-               if (!WaitForResponseTimeout(CMD_ACK, &resp, 2000)) {
+               if (!WaitForResponseTimeout(CMD_ACK, &resp, 3000)) {
                        PrintAndLog("command execution time out");
                        free(data);     
                        return 1;
                        PrintAndLog("command execution time out");
                        free(data);     
                        return 1;
Impressum, Datenschutz