Fix ESP-IDF header include issue

This commit is contained in:
Dracir
2022-05-21 11:59:07 +02:00
parent ba819765af
commit a9f435eced

View File

@ -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