From: iceman1001 Date: Sun, 9 Oct 2016 13:49:59 +0000 (+0200) Subject: FIX: increased time-out to match 2.7sec it takes to write 256bytes. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/564c9ae2b68afc0d8b0455fb9b9d2aba0ca6c574 FIX: increased time-out to match 2.7sec it takes to write 256bytes. --- diff --git a/client/cmdhflegic.c b/client/cmdhflegic.c index b2d207e5..a68d29a7 100644 --- a/client/cmdhflegic.c +++ b/client/cmdhflegic.c @@ -1035,7 +1035,7 @@ int CmdLegicRestore(const char *Cmd){ clearCommandBuffer(); SendCommand(&c); - if (!WaitForResponseTimeout(CMD_ACK, &resp, 2000)) { + if (!WaitForResponseTimeout(CMD_ACK, &resp, 3000)) { PrintAndLog("command execution time out"); free(data); return 1;