1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-22 04:00:55 +00:00

made sure filesystem is properly formated

This commit is contained in:
Lukas Bachschwell 2017-12-17 19:02:03 +01:00 committed by GitHub
parent dc007a981a
commit f7be52d075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ void ESPUIClass::prepareFileSystem(){
// this function should only be used once
Serial.println('About to prepare filesystem...');
if(!SPIFFS.begin()) {
if(!SPIFFS.begin(true)) {
Serial.println("SPIFFS Mount Failed");
return;
}