mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
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:
parent
27c4a862f6
commit
b816886806
3 changed files with 59 additions and 57 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue