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 committed 2016-10-07 19:11:38 +02:00
1 parent 27c4a862f6
commit b816886806
3 files changed
+59 -57

No files matched your search

+1 -1
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;
}