diff --git a/cores/nRF5/flash/flash_cache.c b/cores/nRF5/flash/flash_cache.c index b0a23907..7f1a69a2 100644 --- a/cores/nRF5/flash/flash_cache.c +++ b/cores/nRF5/flash/flash_cache.c @@ -34,7 +34,7 @@ */ /**************************************************************************/ -#include "../flash/flash_cache.h" +#include "flash_cache.h" #include "common_func.h" diff --git a/libraries/FileSystem/src/InternalFS.cpp b/libraries/FileSystem/src/InternalFS.cpp index d6a20808..c0bc3d9a 100644 --- a/libraries/FileSystem/src/InternalFS.cpp +++ b/libraries/FileSystem/src/InternalFS.cpp @@ -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;