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

@ -2043,8 +2043,7 @@ int CmdHFiClassCheckKeys(const char *Cmd) {
while ( !WaitForResponseTimeout(CMD_ACK, &resp, 2000) ) {
timeout++;
PrintAndLogEx(NORMAL, ".");
fflush(stdout);
printf("."); fflush(stdout);
if (timeout > 120) {
PrintAndLogEx(NORMAL, "\n"); PrintAndLogEx(WARNING, "no response from Proxmark. Aborting...");
goto out;