Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-os-example-mbed5-filesystem by
Diff: main.cpp
- Revision:
- 10:38d6b74b0eb7
- Parent:
- 1:2bfc377bcc2a
- Child:
- 12:a07d0af60cc6
diff -r 7d37032f7527 -r 38d6b74b0eb7 main.cpp
--- 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);
