mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Initialize spiffs on first mount
This commit is contained in:
parent
cf09094a02
commit
9eca4d694d
@ -42,7 +42,7 @@ void spiffsSetup()
|
||||
|
||||
#if LV_USE_HASP_SPIFFS
|
||||
char msg[64];
|
||||
if(!SPIFFS.begin()) {
|
||||
if(!SPIFFS.begin(true)) {
|
||||
sprintf(msg, PSTR("FILE: %sSPI flash init failed. Unable to mount FS."));
|
||||
errorPrintln(msg);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user