mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
fix 'hf mf perso' result feedback (#920)
This commit is contained in:
parent
aa8ff592ae
commit
5bc3841ad1
1 changed files with 2 additions and 2 deletions
|
@ -3076,8 +3076,8 @@ int CmdHFMFPersonalize(const char *cmd) {
|
|||
|
||||
UsbCommand resp;
|
||||
if (WaitForResponseTimeout(CMD_ACK, &resp, 1500)) {
|
||||
uint8_t isOK = resp.arg[0] & 0xff;
|
||||
PrintAndLog("Personalization %s", isOK ? "FAILED" : "SUCCEEDED");
|
||||
bool isOK = resp.arg[0];
|
||||
PrintAndLog("Personalization %s", isOK ? "SUCCEEDED" : "FAILED");
|
||||
} else {
|
||||
PrintAndLog("Command execute timeout");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue