Use default settings if filesystem is unavailable

This commit is contained in:
fvanroie 2021-05-10 06:36:35 +02:00
parent cb4daf442c
commit ff59b55427

View File

@ -403,7 +403,7 @@ void configSetup()
#if HASP_USE_SPIFFS > 0 || HASP_USE_LITTLEFS > 0
if(!filesystemSetup()) {
LOG_ERROR(TAG_CONF, F("FILE: SPI flash init failed. Unable to mount FS: Using default settings..."));
return;
// return; // Keep going and initialize the console with default settings
}
#endif
configRead(settings, true);