From ae80614a1a7ca03f30ab47c6793bed9c81e2094f Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 18 Jan 2024 16:22:10 +0100 Subject: [PATCH] style --- client/src/cmdlfcotag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, "");