Unmount the FS befor formating

This commit is contained in:
Jeremy Poulter committed 2019-03-11 22:35:58 +00:00
1 parent f42cf4b60b
commit affe391677
2 files changed
+9 -1

No files matched your search

+1
View File
@@ -74,6 +74,7 @@ class LittleFS: public BluefruitFS::FileSystemClass
struct lfs_config _lfs_cfg;
lfs_t _lfs;
bool _begun;
bool _mounted;
BluefruitFS::File _open_file (char const *filepath, uint8_t mode);
BluefruitFS::File _open_dir (char const *filepath);