1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-24 07:20:53 +00:00

Support ESP-IDF versions prior to 4.4/Arduino Core 2.0

This commit is contained in:
Nick Reynolds 2022-10-13 20:52:19 +01:00
parent 0c9586730e
commit 4b489c7ce5

View File

@ -7,7 +7,11 @@
#include <Arduino.h> #include <Arduino.h>
#include <ArduinoJson.h> #include <ArduinoJson.h>
#include <stdlib_noniso.h> #include <stdlib_noniso.h>
#if (ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR >= 4) || ESP_IDF_VERSION_MAJOR > 4
#include <LittleFS.h> #include <LittleFS.h>
#else
#include <LITTLEFS.h>
#endif
#include <map> #include <map>
#include <ESPAsyncWebServer.h> #include <ESPAsyncWebServer.h>