Initialize spiffs on first mount

This commit is contained in:
fvanroie 2020-02-01 00:43:07 +01:00
parent cf09094a02
commit 9eca4d694d

View File

@ -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 {