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