mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 05:06:44 +00:00
Use default settings if filesystem is unavailable
This commit is contained in:
parent
cb4daf442c
commit
ff59b55427
@ -403,7 +403,7 @@ void configSetup()
|
|||||||
#if HASP_USE_SPIFFS > 0 || HASP_USE_LITTLEFS > 0
|
#if HASP_USE_SPIFFS > 0 || HASP_USE_LITTLEFS > 0
|
||||||
if(!filesystemSetup()) {
|
if(!filesystemSetup()) {
|
||||||
LOG_ERROR(TAG_CONF, F("FILE: SPI flash init failed. Unable to mount FS: Using default settings..."));
|
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
|
#endif
|
||||||
configRead(settings, true);
|
configRead(settings, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user