From 31a5ccd02e0053a5072cab831f55ca568ce566f1 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Tue, 29 Nov 2022 21:55:53 +0000 Subject: [PATCH] Make ESP32 family handle SPIFFS and LittleFS consistently --- Processors/TFT_eSPI_ESP32.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Processors/TFT_eSPI_ESP32.h b/Processors/TFT_eSPI_ESP32.h index bf44714..87cf667 100644 --- a/Processors/TFT_eSPI_ESP32.h +++ b/Processors/TFT_eSPI_ESP32.h @@ -135,17 +135,11 @@ SPI3_HOST = 2 // Call up the SPIFFS (SPI FLASH Filing System) for the anti-aliased fonts #define FS_NO_GLOBALS #include - #if defined(CONFIG_IDF_TARGET_ESP32) - #include "SPIFFS.h" // ESP32 only - #else - #ifndef SPIFFS - #include - #define SPIFFS LittleFS - #endif - #endif + #include "SPIFFS.h" // ESP32 only #define FONT_FS_AVAILABLE #endif + //////////////////////////////////////////////////////////////////////////////////////// // Define the DC (TFT Data/Command or Register Select (RS))pin drive code ////////////////////////////////////////////////////////////////////////////////////////