Fixed warnings about redefinitions

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

View File

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

View File

@ -40,7 +40,7 @@ TFT_eSPI tft = TFT_eSPI();
WiFiClientSecure client;
// Initialize variables
String inputBuffer = "";
String inputBuffer = "";
String ssid = "";
String password = "";
String nick = "";