X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/aa8ff592ae60e82492d7092ea7ec9d43a7228f4d..d3f8d76d6c157e7ffc8cf03536f73c30fe2ab561:/client/cmdhfmf.c 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"); }