chg: the dot progress is not logged anymore. Force fflush afterwards.

This commit is contained in:
iceman1001 2018-03-05 20:07:29 +01:00
commit 24482211ad
14 changed files with 19 additions and 25 deletions

View file

@ -483,8 +483,7 @@ int main(int argc, char* argv[]) {
do {
sp = uart_open(argv[1]);
msleep(500);
PrintAndLogEx(NORMAL, ".");
fflush(stdout);
printf("."); fflush(stdout);
} while (++openCount < 30 && (sp == INVALID_SERIAL_PORT || sp == CLAIMED_SERIAL_PORT));
PrintAndLogEx(NORMAL, "\n");
}