mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
no printf
This commit is contained in:
parent
92442dcbef
commit
f79a4803c5
1 changed files with 2 additions and 3 deletions
|
@ -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, "");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue