mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-07-30 10:47:32 +02:00
Fix ESP-IDF header include issue
This commit is contained in:
@ -27,10 +27,6 @@
|
|||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
|
|
||||||
//Standard support
|
//Standard support
|
||||||
#ifdef TFT_eSPI_COMPONENT
|
|
||||||
#include "TFT_config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <Print.h>
|
#include <Print.h>
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
@ -40,6 +36,9 @@
|
|||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
// Include header file that defines the fonts loaded, the TFT drivers
|
// Include header file that defines the fonts loaded, the TFT drivers
|
||||||
// available and the pins to be used, etc, etc
|
// available and the pins to be used, etc, etc
|
||||||
|
#ifdef CONFIG_TFT_eSPI_ESPIDF
|
||||||
|
#include "TFT_config.h"
|
||||||
|
#endif
|
||||||
#include <User_Setup_Select.h>
|
#include <User_Setup_Select.h>
|
||||||
|
|
||||||
// Handle FLASH based storage e.g. PROGMEM
|
// Handle FLASH based storage e.g. PROGMEM
|
||||||
|
Reference in New Issue
Block a user