no printf

This commit is contained in:
iceman1001 2020-08-29 14:52:11 +02:00
commit 7fd4d5f158

View file

@ -364,11 +364,10 @@ int CmdLFCommandRead(const char *Cmd) {
uint8_t i = 10; uint8_t i = 10;
// 20sec wait loop // 20sec wait loop
while (!WaitForResponseTimeout(CMD_LF_MOD_THEN_ACQ_RAW_ADC, &resp, 2000) && i != 0) { while (!WaitForResponseTimeout(CMD_LF_MOD_THEN_ACQ_RAW_ADC, &resp, 2000) && i != 0) {
printf("."); PrintAndLogEx(NORMAL, "." NOLF);
fflush(stdout);
i--; i--;
} }
printf("\n"); PrintAndLogEx(NORMAL, "");
if (resp.status == PM3_SUCCESS) { if (resp.status == PM3_SUCCESS) {
if (i) { if (i) {
@ -736,15 +735,13 @@ int CmdLFSim(const char *Cmd) {
PrintAndLogEx(INFO, "Bigbuf is full."); PrintAndLogEx(INFO, "Bigbuf is full.");
break; break;
} }
printf("."); PrintAndLogEx(NORMAL, "." NOLF);
fflush(stdout);
payload_up.flag = 0; payload_up.flag = 0;
} }
// Disable fast mode before last command // Disable fast mode before last command
conn.block_after_ACK = false; conn.block_after_ACK = false;
printf("\n"); PrintAndLogEx(NORMAL, "");
PrintAndLogEx(INFO, "Simulating"); PrintAndLogEx(INFO, "Simulating");
struct p { struct p {