diff --git a/src/WiFiConfig.cpp b/src/WiFiConfig.cpp index a514cf7..93a6d04 100644 --- a/src/WiFiConfig.cpp +++ b/src/WiFiConfig.cpp @@ -5,6 +5,21 @@ #include #include "embHTML.h" #include +#include +#ifndef USEDFS +# if defined(ESP32) +# ifdef USE_LITTLEFS +# include +# define USEDFS LITTLEFS +# else +# include +# define USEDFS SPIFFS +# endif +# else +# include +# define USEDFS LittleFS +# endif +#endif #if defined(ESP8266) // ESP8266