diff --git a/client/src/cmdlfcotag.c b/client/src/cmdlfcotag.c index 2306b0024..6357561c1 100644 --- a/client/src/cmdlfcotag.c +++ b/client/src/cmdlfcotag.c @@ -161,7 +161,7 @@ static int CmdCOTAGReader(const char *Cmd) { uint8_t timeout = 3; int res = PM3_SUCCESS; - while (!WaitForResponseTimeout(CMD_LF_COTAG_READ, &resp, 1000)) { + while (WaitForResponseTimeout(CMD_LF_COTAG_READ, &resp, 1000) == false) { timeout--; if (timeout == 0) { PrintAndLogEx(NORMAL, "");