From a590dfccc8eeaf07eecab8168242df11799f557a Mon Sep 17 00:00:00 2001 From: acidvegas Date: Wed, 29 May 2024 00:05:04 -0400 Subject: [PATCH] Fixed warnings about redefinitions --- .../User_Setups/Setup210_LilyGo_T_Deck.h | 21 +++++++++++++++++++ src/main.ino | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/lib/TFT_eSPI/User_Setups/Setup210_LilyGo_T_Deck.h b/lib/TFT_eSPI/User_Setups/Setup210_LilyGo_T_Deck.h index 79c7b2d..822429f 100644 --- a/lib/TFT_eSPI/User_Setups/Setup210_LilyGo_T_Deck.h +++ b/lib/TFT_eSPI/User_Setups/Setup210_LilyGo_T_Deck.h @@ -1,3 +1,24 @@ +// 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 diff --git a/src/main.ino b/src/main.ino index da4c944..5b4b782 100644 --- a/src/main.ino +++ b/src/main.ino @@ -40,7 +40,7 @@ TFT_eSPI tft = TFT_eSPI(); WiFiClientSecure client; // Initialize variables -String inputBuffer = ""; +String inputBuffer = ""; String ssid = ""; String password = ""; String nick = "";