Add #define to disable warnings (#1788)

// Define in setup to disable all #warnings in library (can be put in User_Setup_Select.h)
#define DISABLE_ALL_LIBRARY_WARNINGS
This commit is contained in:
Bodmer committed 2022-04-27 22:28:52 +01:00
1 parent f0ec6d22b3
commit 79b41bc833
5 files changed
+18 -4

No files matched your search

+3 -1
View File
@@ -7,7 +7,9 @@
#ifndef _TFT_eSPI_ESP32H_
#define _TFT_eSPI_ESP32H_
#warning >>>>------>> ESP32 C3 support is incomplete and non-functional at the moment
#if !defined(DISABLE_ALL_LIBRARY_WARNINGS)
#warning >>>>------>> DMA is not supported on the ESP32 C3 (possible future update)
#endif
// Processor ID reported by getSetup()
#define PROCESSOR_ID 0x32
+3 -1
View File
@@ -7,7 +7,9 @@
#ifndef _TFT_eSPI_ESP32H_
#define _TFT_eSPI_ESP32H_
#warning >>>>------>> DMA is not supported on the ESP32 S3 (possible future update)
#if !defined(DISABLE_ALL_LIBRARY_WARNINGS)
#warning >>>>------>> DMA is not supported on the ESP32 S3 (possible future update)
#endif
// Processor ID reported by getSetup()
#define PROCESSOR_ID 0x32