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

@ -336,7 +336,7 @@ static int enter_bootloader(void)
msleep(1000);
while (!OpenProxmark(0)) {
msleep(1000);
fprintf(stderr, ".");
fprintf(stderr, "."); fflush(stdout);
}
fprintf(stderr," Found.\n");
@ -449,7 +449,7 @@ int flash_write(flash_file_t *ctx)
baddr += block_size;
length -= block_size;
block++;
fprintf(stderr, ".");
fprintf(stderr, "."); fflush(stdout);
}
fprintf(stderr, " OK\n");
}

View file

@ -60,7 +60,7 @@ int main(int argc, char **argv)
fprintf(stderr, "Waiting for Proxmark to appear on USB...");
while (!OpenProxmark(1)) {
msleep(1000);
fprintf(stderr, ".");
fprintf(stderr, "."); fflush(stdout);
}
fprintf(stderr, " Found.\n");