diff options
author | Christopher Haster <chaster@utexas.edu> | 2017-07-16 20:42:17 +0300 |
---|---|---|
committer | Christopher Haster <chaster@utexas.edu> | 2017-07-16 20:45:41 +0300 |
commit | 47db7a737060045f837408ae69736cc58dd4449c (patch) | |
tree | 630c4e1b18899e1343f89def988f649c1179a444 /README.md | |
parent | 476915fee646f6e082f5141ebbc377ae816ef79d (diff) |
Added sanity check for compiling example
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -77,7 +77,6 @@ int main(void) { // update boot count boot_count += 1; - printf("boot_count: %ld\n", boot_count); lfs_file_rewind(&lfs, &file); lfs_file_write(&lfs, &file, &boot_count, sizeof(boot_count)); @@ -86,6 +85,9 @@ int main(void) { // release any resources we were using lfs_unmount(&lfs); + + // print the boot count + printf("boot_count: %d\n", boot_count); } ``` |