mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
changed timeout return value from PM3_ESOFT to PM3_ETIMEOUT
This commit is contained in:
parent
8e29bb7a56
commit
d684347429
1 changed files with 3 additions and 3 deletions
|
@ -459,7 +459,7 @@ int CmdEM4x50Info(const char *Cmd) {
|
||||||
// get result
|
// get result
|
||||||
if (!WaitForResponse(CMD_ACK, &resp)) {
|
if (!WaitForResponse(CMD_ACK, &resp)) {
|
||||||
PrintAndLogEx(WARNING, " timeout while waiting for reply.");
|
PrintAndLogEx(WARNING, " timeout while waiting for reply.");
|
||||||
return PM3_ESOFT;
|
return PM3_ETIMEOUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
// prepare result
|
// prepare result
|
||||||
|
@ -604,7 +604,7 @@ int CmdEM4x50Write(const char *Cmd) {
|
||||||
|
|
||||||
if (!WaitForResponse(CMD_ACK, &resp)) {
|
if (!WaitForResponse(CMD_ACK, &resp)) {
|
||||||
PrintAndLogEx(WARNING, "\n timeout while waiting for reply.\n");
|
PrintAndLogEx(WARNING, "\n timeout while waiting for reply.\n");
|
||||||
return PM3_ESOFT;
|
return PM3_ETIMEOUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
// get, prepare and print response
|
// get, prepare and print response
|
||||||
|
@ -710,7 +710,7 @@ int CmdEM4x50WritePassword(const char *Cmd) {
|
||||||
|
|
||||||
if (!WaitForResponse(CMD_ACK, &resp)) {
|
if (!WaitForResponse(CMD_ACK, &resp)) {
|
||||||
PrintAndLogEx(WARNING, "\n timeout while waiting for reply.\n");
|
PrintAndLogEx(WARNING, "\n timeout while waiting for reply.\n");
|
||||||
return PM3_ESOFT;
|
return PM3_ETIMEOUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
// get, prepare and print response
|
// get, prepare and print response
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue