Chybejici parametrizace USEDFS

This commit is contained in:
Pavel Brychta 2021-06-29 12:33:10 +02:00
parent 8e857a1ae2
commit 99a4d17097

View File

@ -5,6 +5,21 @@
#include <sysvars.hpp> #include <sysvars.hpp>
#include "embHTML.h" #include "embHTML.h"
#include <encString.hpp> #include <encString.hpp>
#include <FS.h>
#ifndef USEDFS
# if defined(ESP32)
# ifdef USE_LITTLEFS
# include <LITTLEFS.h>
# define USEDFS LITTLEFS
# else
# include <SPIFFS.h>
# define USEDFS SPIFFS
# endif
# else
# include <LittleFS.h>
# define USEDFS LittleFS
# endif
#endif
#if defined(ESP8266) #if defined(ESP8266)
// ESP8266 // ESP8266