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,9 +11,14 @@
#ifndef USEDFS #ifndef USEDFS
# if defined(ESP32) # if defined(ESP32)
# ifdef USE_LITTLEFS # ifdef USE_LITTLEFS
# if ESP_IDF_VERSION_MAJOR < 4
# include <LITTLEFS.h> # include <LITTLEFS.h>
# define USEDFS LITTLEFS # define USEDFS LITTLEFS
# else # else
# include <LittleFS.h>
# define USEDFS LittleFS
# endif
# else
# include <SPIFFS.h> # include <SPIFFS.h>
# define USEDFS SPIFFS # define USEDFS SPIFFS
# endif # endif