From 0aa90bdce2c21073fea337d8112ea34ec511a26d Mon Sep 17 00:00:00 2001 From: Chad Date: Tue, 31 Mar 2026 18:34:04 -0500 Subject: [PATCH] Show 'WiFi: Connecting...' message before attempting connection --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 239454d..7ad1d0f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1168,6 +1168,12 @@ bool handleWifiPasswordTouch(int32_t x, int32_t y) { preferences.putString("password", wifiPassword); preferences.end(); + lcd.fillScreen(TFT_BLACK); + lcd.setTextColor(TFT_WHITE, TFT_BLACK); + lcd.setFont(&fonts::DejaVu24); + lcd.setTextDatum(textdatum_t::middle_center); + lcd.drawString("WiFi: Connecting...", SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2); + WiFi.mode(WIFI_STA); WiFi.begin(selectedSSID.c_str(), wifiPassword.c_str());