From: pwpiwi Date: Mon, 16 Mar 2020 12:33:19 +0000 (+0100) Subject: fix 'hf mf perso' result feedback (#920) X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/5bc3841ad1463e52834ee6e4a9afc5c4a98a2920?ds=sidebyside fix 'hf mf perso' result feedback (#920) --- diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index d31b8264..91f73ca2 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -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"); }