mirror of
https://github.com/s00500/ESPUI.git
synced 2024-11-22 04:00:55 +00:00
Sort out includes for LittleFS
This commit is contained in:
parent
4b489c7ce5
commit
309e53dd1e
@ -7,11 +7,15 @@
|
|||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include <stdlib_noniso.h>
|
#include <stdlib_noniso.h>
|
||||||
|
#ifdef ESP32
|
||||||
#if (ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR >= 4) || ESP_IDF_VERSION_MAJOR > 4
|
#if (ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR >= 4) || ESP_IDF_VERSION_MAJOR > 4
|
||||||
#include <LittleFS.h>
|
#include <LittleFS.h>
|
||||||
#else
|
#else
|
||||||
#include <LITTLEFS.h>
|
#include <LITTLEFS.h>
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
#include <LittleFS.h>
|
||||||
|
#endif
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <ESPAsyncWebServer.h>
|
#include <ESPAsyncWebServer.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user