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:
1 parent
27c4a862f6
commit
b816886806
3 files changed
+59
-57
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user