minor clean up
This commit is contained in:
1 parent
e76ff0e76f
commit
191baf744a
2 files changed
+3
-3
No files matched your search
@@ -34,7 +34,7 @@
|
||||
*/
|
||||
/**************************************************************************/
|
||||
|
||||
#include "../flash/flash_cache.h"
|
||||
#include "flash_cache.h"
|
||||
|
||||
#include "common_func.h"
|
||||
|
||||
|
||||
@@ -206,8 +206,8 @@ bool LittleFS::begin (void)
|
||||
if ( LFS_ERR_CORRUPT == err )
|
||||
{
|
||||
LOG_LV1("IFLASH", "Format internal file system");
|
||||
VERIFY_LFS(lfs_format(&_lfs, &_lfs_cfg));
|
||||
VERIFY_LFS(lfs_mount(&_lfs, &_lfs_cfg));
|
||||
VERIFY_LFS(lfs_format(&_lfs, &_lfs_cfg), false);
|
||||
VERIFY_LFS(lfs_mount(&_lfs, &_lfs_cfg), false);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user