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