Merge pull request #1838 from dracir9/master

Fix ESP-IDF header include issue
This commit is contained in:
Bodmer
2022-05-21 14:02:25 +01:00
committed by GitHub

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