mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 22:33:48 -07:00
no printf
This commit is contained in:
parent
cccee38597
commit
7fd4d5f158
1 changed files with 4 additions and 7 deletions
|
@ -364,11 +364,10 @@ int CmdLFCommandRead(const char *Cmd) {
|
|||
uint8_t i = 10;
|
||||
// 20sec wait loop
|
||||
while (!WaitForResponseTimeout(CMD_LF_MOD_THEN_ACQ_RAW_ADC, &resp, 2000) && i != 0) {
|
||||
printf(".");
|
||||
fflush(stdout);
|
||||
PrintAndLogEx(NORMAL, "." NOLF);
|
||||
i--;
|
||||
}
|
||||
printf("\n");
|
||||
PrintAndLogEx(NORMAL, "");
|
||||
|
||||
if (resp.status == PM3_SUCCESS) {
|
||||
if (i) {
|
||||
|
@ -736,15 +735,13 @@ int CmdLFSim(const char *Cmd) {
|
|||
PrintAndLogEx(INFO, "Bigbuf is full.");
|
||||
break;
|
||||
}
|
||||
printf(".");
|
||||
fflush(stdout);
|
||||
PrintAndLogEx(NORMAL, "." NOLF);
|
||||
payload_up.flag = 0;
|
||||
}
|
||||
|
||||
// Disable fast mode before last command
|
||||
conn.block_after_ACK = false;
|
||||
printf("\n");
|
||||
|
||||
PrintAndLogEx(NORMAL, "");
|
||||
PrintAndLogEx(INFO, "Simulating");
|
||||
|
||||
struct p {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue