FIX: increased time-out to match 2.7sec it takes to write 256bytes.

This commit is contained in:
iceman1001 2016-10-09 15:49:59 +02:00
parent 539fd59ebe
commit 564c9ae2b6

View file

@ -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;