mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-01 10:34:45 +08:00
lesser time 6 -> 3 sec wait
This commit is contained in:
parent
54e7f8d438
commit
1a2b89d92f
1 changed files with 1 additions and 2 deletions
|
@ -123,14 +123,13 @@ static int CmdCOTAGReader(const char *Cmd) {
|
||||||
|
|
||||||
uint8_t timeout = 3;
|
uint8_t timeout = 3;
|
||||||
int res = PM3_SUCCESS;
|
int res = PM3_SUCCESS;
|
||||||
while (!WaitForResponseTimeout(CMD_LF_COTAG_READ, &resp, 2000)) {
|
while (!WaitForResponseTimeout(CMD_LF_COTAG_READ, &resp, 1000)) {
|
||||||
timeout--;
|
timeout--;
|
||||||
PrintAndLogEx(NORMAL, "." NOLF);
|
PrintAndLogEx(NORMAL, "." NOLF);
|
||||||
if (timeout == 0) {
|
if (timeout == 0) {
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(NORMAL, "");
|
||||||
PrintAndLogEx(WARNING, "command execution time out");
|
PrintAndLogEx(WARNING, "command execution time out");
|
||||||
SendCommandNG(CMD_BREAK_LOOP, NULL, 0);
|
SendCommandNG(CMD_BREAK_LOOP, NULL, 0);
|
||||||
timeout = 1;
|
|
||||||
res = PM3_ETIMEOUT;
|
res = PM3_ETIMEOUT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue