Update TFT_eSPI to v2.5.43

This commit is contained in:
lewisxhe
2024-12-20 10:30:59 +08:00
parent 7f7f0022fe
commit 7abc5fb795
215 changed files with 3400 additions and 1114 deletions
+11 -9
View File
@@ -23,6 +23,14 @@
#include "sdkconfig.h"
/***************************************************************************************
** Others
***************************************************************************************/
#ifdef CONFIG_DISABLE_WARNINGS
#define DISABLE_ALL_LIBRARY_WARNINGS
#endif
/***************************************************************************************
** TFT_eSPI Configuration defines
***************************************************************************************/
@@ -137,7 +145,9 @@
#endif
#if CONFIG_TFT_RST == -1
#error "Invalid Reset pin. Check TFT_eSPI configuration"
#if !defined(DISABLE_ALL_LIBRARY_WARNINGS)
#warning "Invalid Reset pin. Check TFT_eSPI configuration"
#endif
#else
#define TFT_RST CONFIG_TFT_RST
#endif
@@ -307,12 +317,4 @@
#define SPI_TOUCH_FREQUENCY CONFIG_SPI_TOUCH_FREQUENCY
#endif
/***************************************************************************************
** Section 6: Others
***************************************************************************************/
#ifdef CONFIG_DISABLE_WARNINGS
#define DISABLE_ALL_LIBRARY_WARNINGS
#endif
#endif // TFT_CONFIG_H