Upravy i pro preklad ESP32 Core 2.0.0

This commit is contained in:
Pavel Brychta 2021-09-26 14:20:07 +02:00
parent 94a5f46320
commit 9d521dbdb9

View File

@ -11,8 +11,13 @@
#ifndef USEDFS
# if defined(ESP32)
# ifdef USE_LITTLEFS
# include <LITTLEFS.h>
# define USEDFS LITTLEFS
# if ESP_IDF_VERSION_MAJOR < 4
# include <LITTLEFS.h>
# define USEDFS LITTLEFS
# else
# include <LittleFS.h>
# define USEDFS LittleFS
# endif
# else
# include <SPIFFS.h>
# define USEDFS SPIFFS