mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
fix: flushing some output..
This commit is contained in:
parent
deeb56f09c
commit
92858d39d4
1 changed files with 3 additions and 1 deletions
|
@ -417,7 +417,7 @@ int flash_write(flash_file_t *ctx) {
|
||||||
uint32_t end = seg->start + length;
|
uint32_t end = seg->start + length;
|
||||||
|
|
||||||
fprintf(stdout, " 0x%08x..0x%08x [0x%x / %d blocks]", seg->start, end - 1, length, blocks);
|
fprintf(stdout, " 0x%08x..0x%08x [0x%x / %d blocks]", seg->start, end - 1, length, blocks);
|
||||||
|
fflush();
|
||||||
int block = 0;
|
int block = 0;
|
||||||
uint8_t *data = seg->data;
|
uint8_t *data = seg->data;
|
||||||
uint32_t baddr = seg->start;
|
uint32_t baddr = seg->start;
|
||||||
|
@ -438,8 +438,10 @@ int flash_write(flash_file_t *ctx) {
|
||||||
length -= block_size;
|
length -= block_size;
|
||||||
block++;
|
block++;
|
||||||
fprintf(stdout, ".");
|
fprintf(stdout, ".");
|
||||||
|
fflush();
|
||||||
}
|
}
|
||||||
fprintf(stdout, " OK\n");
|
fprintf(stdout, " OK\n");
|
||||||
|
fflush();
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue