mirror of
https://github.com/s00500/ESPUI.git
synced 2024-11-22 09:10:54 +00:00
made sure filesystem is properly formated
This commit is contained in:
parent
dc007a981a
commit
f7be52d075
@ -50,7 +50,7 @@ void ESPUIClass::prepareFileSystem(){
|
|||||||
// this function should only be used once
|
// this function should only be used once
|
||||||
|
|
||||||
Serial.println('About to prepare filesystem...');
|
Serial.println('About to prepare filesystem...');
|
||||||
if(!SPIFFS.begin()) {
|
if(!SPIFFS.begin(true)) {
|
||||||
Serial.println("SPIFFS Mount Failed");
|
Serial.println("SPIFFS Mount Failed");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user