no printf

This commit is contained in:
iceman1001 2020-08-29 14:04:01 +02:00
commit f79a4803c5

View file

@ -97,14 +97,13 @@ static int CmdCOTAGRead(const char *Cmd) {
uint8_t timeout = 3;
while (!WaitForResponseTimeout(CMD_LF_COTAG_READ, &resp, 2000)) {
timeout--;
printf(".");
fflush(stdout);
PrintAndLogEx(NORMAL, "." NOLF);
if (timeout == 0) {
PrintAndLogEx(WARNING, "command execution time out");
return PM3_ETIMEOUT;
}
}
if (timeout != 3)
PrintAndLogEx(NORMAL, "");