Clean up filesystem initialization
#include "SPIFFS.h"
-#define SPIFFS_BEGIN SPIFFS.begin(true)
#include "filesystem.h"
#include "sensesp.h"
namespace sensesp {
Filesystem::Filesystem() : Resettable(-100) {
- if (!SPIFFS_BEGIN) {
+ if (!SPIFFS.begin(true)) {
debugE("FATAL: Filesystem initialization failed.");
ESP.restart();
}
