mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fixed status (BUTTON_SINGLE_CLICK not available in client)
This commit is contained in:
parent
b3f1438c6b
commit
9ff29b8d4e
1 changed files with 2 additions and 1 deletions
|
@ -525,7 +525,8 @@ int CmdEM4x50Chk(const char *Cmd) {
|
||||||
SendCommandNG(CMD_LF_EM4X50_CHK, (uint8_t *)&offset, sizeof(offset));
|
SendCommandNG(CMD_LF_EM4X50_CHK, (uint8_t *)&offset, sizeof(offset));
|
||||||
WaitForResponseTimeoutW(CMD_LF_EM4X50_CHK, &resp, -1, false);
|
WaitForResponseTimeoutW(CMD_LF_EM4X50_CHK, &resp, -1, false);
|
||||||
|
|
||||||
if ((status = resp.status) == PM3_SUCCESS)
|
status = resp.status; // status = -1 -> BUTTON_SINGLE_CLICK
|
||||||
|
if ((status == PM3_SUCCESS) || (status == -1))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue