mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2024-09-21 10:27:11 +00:00
Add option to disable warnings in esp-idf (#2449)
This commit is contained in:
parent
bee1d41f07
commit
6cf42ff9ce
6
Kconfig
6
Kconfig
@ -398,4 +398,10 @@ menu "TFT_eSPI"
|
||||
endif
|
||||
endmenu
|
||||
|
||||
menu "Other settings"
|
||||
config DISABLE_WARNINGS
|
||||
bool "Disable Library warnings"
|
||||
default n
|
||||
endmenu
|
||||
|
||||
endmenu
|
||||
|
10
TFT_config.h
10
TFT_config.h
@ -12,7 +12,7 @@
|
||||
* @author Ricard Bitriá Ribes (https://github.com/dracir9)
|
||||
* Created Date: 22-01-2022
|
||||
* -----
|
||||
* Last Modified: 20-02-2023
|
||||
* Last Modified: 25-02-2023
|
||||
* Modified By: Ricard Bitriá Ribes
|
||||
* -----
|
||||
* @copyright (c) 2022 Ricard Bitriá Ribes
|
||||
@ -307,4 +307,12 @@
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user