implement most of the ExternalFS

This commit is contained in:
hathach committed 2018-10-25 16:13:54 +07:00
1 parent f31b370cfa
commit eff1dd9187
3 files changed
+46 -5

No files matched your search

+3
View File
@@ -343,6 +343,9 @@ bool LittleFS::rmdir (char const *filepath)
bool LittleFS::rmdir_r (char const *filepath)
{
/* adafruit: lfs is modified to remove non-empty folder,
According to below issue, comment these 2 line won't corrupt filesystem
https://github.com/ARMmbed/littlefs/issues/43 */
VERIFY_LFS(lfs_remove(&_lfs, filepath));
return true;
}