Found a better way to silence library warnings
This commit is contained in:
parent
a590dfccc8
commit
833d15db65
@ -1,24 +1,3 @@
|
||||
// Added by acidvegas to hide warnings during build
|
||||
#ifdef TFT_MISO
|
||||
#undef TFT_MISO
|
||||
#endif
|
||||
#ifdef TFT_MOSI
|
||||
#undef TFT_MOSI
|
||||
#endif
|
||||
#ifdef TFT_CS
|
||||
#undef TFT_CS
|
||||
#endif
|
||||
#ifdef TFT_DC
|
||||
#undef TFT_DC
|
||||
#endif
|
||||
#ifdef TFT_RST
|
||||
#undef TFT_RST
|
||||
#endif
|
||||
#ifdef TFT_BL
|
||||
#undef TFT_BL
|
||||
#endif
|
||||
|
||||
|
||||
// ST7789 240 x 280 display with no chip select line
|
||||
#define USER_SETUP_ID 210
|
||||
|
||||
|
@ -22,6 +22,7 @@ board_build.partitions = default_16MB.csv
|
||||
build_flags =
|
||||
-DBOARD_HAS_PSRAM
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
-DDISABLE_ALL_LIBRARY_WARNINGS
|
||||
lib_deps =
|
||||
;mikalhart/TinyGPSPlus@^1.0.2
|
||||
marian-craciunescu/ESP32Ping@^1.7.0
|
||||
|
Loading…
Reference in New Issue
Block a user