chg: force flushing after dbg printing

This commit is contained in:
Chris 2018-06-23 06:34:35 +02:00
parent f62c231830
commit f443ddb880

View file

@ -198,9 +198,10 @@ void UsbCommandReceived(UsbCommand* _ch) {
// print debug line on same row. escape seq \r
if ( c->arg[1] == CMD_MEASURE_ANTENNA_TUNING_HF) {
printf("\r#db# %s", s);
fflush(stdout);
fflush(NULL);
} else {
PrintAndLogEx(NORMAL, "#db# %s", s);
fflush(NULL);
}
break;
}