From 99a4d1709746cee04bcd60d2e6d6eeee7682e5b6 Mon Sep 17 00:00:00 2001 From: Pavel Brychta Date: Tue, 29 Jun 2021 12:33:10 +0200 Subject: [PATCH] Chybejici parametrizace USEDFS --- src/WiFiConfig.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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