Found a better way to silence library warnings

This commit is contained in:
Dionysus 2024-05-29 00:34:22 -04:00
parent a590dfccc8
commit 833d15db65
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
2 changed files with 1 additions and 21 deletions

View File

@ -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

View File

@ -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