mufs: sync writes

This commit is contained in:
S.J.R. van Schaik 2017-07-24 15:23:19 +02:00
parent 58c93eecf4
commit 070c36a361
2 changed files with 11 additions and 0 deletions

View file

@ -32,6 +32,9 @@ int mufs_mark_block(struct mufs *fs, uint32_t block, int status)
sizeof data) == 0)
return -1;
if (flash_sync(fs->dev) < 0)
return -1;
return 0;
}