mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-02 20:24:41 +02:00
Make ESP32 family handle SPIFFS and LittleFS consistently
This commit is contained in:
@@ -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 <FS.h>
|
||||
#if defined(CONFIG_IDF_TARGET_ESP32)
|
||||
#include "SPIFFS.h" // ESP32 only
|
||||
#else
|
||||
#ifndef SPIFFS
|
||||
#include <LittleFS.h>
|
||||
#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
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user