\r
UsbCommand resp;\r
if (WaitForResponseTimeout(CMD_ACK, &resp, 1500)) {\r
- uint8_t isOK = resp.arg[0] & 0xff;\r
- PrintAndLog("Personalization %s", isOK ? "FAILED" : "SUCCEEDED");\r
+ bool isOK = resp.arg[0];\r
+ PrintAndLog("Personalization %s", isOK ? "SUCCEEDED" : "FAILED");\r
} else {\r
PrintAndLog("Command execute timeout");\r
}\r