From 1a2b89d92fb559954d38dd527cfcf872e3787500 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 2 Dec 2020 17:14:27 +0100 Subject: [PATCH] lesser time 6 -> 3 sec wait --- client/src/cmdlfcotag.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/cmdlfcotag.c b/client/src/cmdlfcotag.c index abe426e30..0c24f0461 100644 --- a/client/src/cmdlfcotag.c +++ b/client/src/cmdlfcotag.c @@ -123,14 +123,13 @@ static int CmdCOTAGReader(const char *Cmd) { uint8_t timeout = 3; int res = PM3_SUCCESS; - while (!WaitForResponseTimeout(CMD_LF_COTAG_READ, &resp, 2000)) { + while (!WaitForResponseTimeout(CMD_LF_COTAG_READ, &resp, 1000)) { timeout--; PrintAndLogEx(NORMAL, "." NOLF); if (timeout == 0) { PrintAndLogEx(NORMAL, ""); PrintAndLogEx(WARNING, "command execution time out"); SendCommandNG(CMD_BREAK_LOOP, NULL, 0); - timeout = 1; res = PM3_ETIMEOUT; } }