mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-23 06:35:38 -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;
|
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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue