bbb
Dependencies: IOTAtelier1819-FileSystem BSP_B-L475E-IOT01
Diff: main.cpp
- Revision:
- 10:38d6b74b0eb7
- Parent:
- 1:2bfc377bcc2a
- Child:
- 12:a07d0af60cc6
--- a/main.cpp Mon Feb 12 19:30:16 2018 +0000 +++ b/main.cpp Fri Mar 09 19:30:20 2018 +0000 @@ -145,6 +145,9 @@ // Store number fprintf(f, " %d\n", number); + + // Flush between write and read on same file + fflush(f); } printf("\rIncrementing numbers (%d/%d)... OK\n", 10, 10);