mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-01 02:27:21 +08:00
chg: force flushing after dbg printing
This commit is contained in:
parent
f62c231830
commit
f443ddb880
1 changed files with 2 additions and 1 deletions
|
@ -198,9 +198,10 @@ void UsbCommandReceived(UsbCommand* _ch) {
|
||||||
// print debug line on same row. escape seq \r
|
// print debug line on same row. escape seq \r
|
||||||
if ( c->arg[1] == CMD_MEASURE_ANTENNA_TUNING_HF) {
|
if ( c->arg[1] == CMD_MEASURE_ANTENNA_TUNING_HF) {
|
||||||
printf("\r#db# %s", s);
|
printf("\r#db# %s", s);
|
||||||
fflush(stdout);
|
fflush(NULL);
|
||||||
} else {
|
} else {
|
||||||
PrintAndLogEx(NORMAL, "#db# %s", s);
|
PrintAndLogEx(NORMAL, "#db# %s", s);
|
||||||
|
fflush(NULL);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue