This commit is contained in:
Bodmer
2023-02-28 13:10:33 +00:00
2 changed files with 15 additions and 1 deletions

View File

@@ -398,4 +398,10 @@ menu "TFT_eSPI"
endif endif
endmenu endmenu
menu "Other settings"
config DISABLE_WARNINGS
bool "Disable Library warnings"
default n
endmenu
endmenu endmenu

View File

@@ -12,7 +12,7 @@
* @author Ricard Bitriá Ribes (https://github.com/dracir9) * @author Ricard Bitriá Ribes (https://github.com/dracir9)
* Created Date: 22-01-2022 * Created Date: 22-01-2022
* ----- * -----
* Last Modified: 20-02-2023 * Last Modified: 25-02-2023
* Modified By: Ricard Bitriá Ribes * Modified By: Ricard Bitriá Ribes
* ----- * -----
* @copyright (c) 2022 Ricard Bitriá Ribes * @copyright (c) 2022 Ricard Bitriá Ribes
@@ -307,4 +307,12 @@
#define SPI_TOUCH_FREQUENCY CONFIG_SPI_TOUCH_FREQUENCY #define SPI_TOUCH_FREQUENCY CONFIG_SPI_TOUCH_FREQUENCY
#endif #endif
/***************************************************************************************
** Section 6: Others
***************************************************************************************/
#ifdef CONFIG_DISABLE_WARNINGS
#define DISABLE_ALL_LIBRARY_WARNINGS
#endif
#endif // TFT_CONFIG_H #endif // TFT_CONFIG_H