Fixed missing cache flush in lfs_migrate
The data written to the prog cache would make littlefs internally consistent, but because this was never written to disk, the filesystem would become unmountable. Unfortunately, this wasn't found during testing because caches automatically flush if data is written up to a program boundary (maybe this was a mistake?). Found by rojer
This commit is contained in:
Reference in New Issue
Block a user