1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-21 22:50:55 +00:00

Sort out includes for LittleFS

This commit is contained in:
Nick Reynolds 2022-10-13 21:09:05 +01:00
parent 4b489c7ce5
commit 309e53dd1e

View File

@ -7,10 +7,14 @@
#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 #ifdef ESP32
#include <LittleFS.h> #if (ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR >= 4) || ESP_IDF_VERSION_MAJOR > 4
#include <LittleFS.h>
#else
#include <LITTLEFS.h>
#endif
#else #else
#include <LITTLEFS.h> #include <LittleFS.h>
#endif #endif
#include <map> #include <map>
#include <ESPAsyncWebServer.h> #include <ESPAsyncWebServer.h>