This commit is contained in:
iceman1001 2024-01-18 16:22:10 +01:00
commit ae80614a1a

View file

@ -161,7 +161,7 @@ static int CmdCOTAGReader(const char *Cmd) {
uint8_t timeout = 3; uint8_t timeout = 3;
int res = PM3_SUCCESS; int res = PM3_SUCCESS;
while (!WaitForResponseTimeout(CMD_LF_COTAG_READ, &resp, 1000)) { while (WaitForResponseTimeout(CMD_LF_COTAG_READ, &resp, 1000) == false) {
timeout--; timeout--;
if (timeout == 0) { if (timeout == 0) {
PrintAndLogEx(NORMAL, ""); PrintAndLogEx(NORMAL, "");