FIX: one send command bug fixed. Turns out that uint16_t is too small for 21/23bits size. Who figured?

This commit is contained in:
iceman1001 2016-10-07 19:11:38 +02:00
commit b816886806
3 changed files with 59 additions and 57 deletions

View file

@ -732,7 +732,7 @@ int CmdLegicRfWrite(const char *Cmd) {
clearCommandBuffer();
SendCommand(&c);
UsbCommand resp;
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2000)) {
if (!WaitForResponseTimeout(CMD_ACK, &resp, 4000)) {
PrintAndLog("command execution time out");
return 1;
}