From 94216c9a1536ecbc5dda6ae274375802a08e1f32 Mon Sep 17 00:00:00 2001 From: Sjef Verhoeven PE5PVB Date: Sun, 8 Oct 2023 14:21:54 +0200 Subject: [PATCH] After configuring WiFi it was not automaticly activated --- src/comms.cpp | 1 - src/gui.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comms.cpp b/src/comms.cpp index 392a2c8..3c4bfa8 100644 --- a/src/comms.cpp +++ b/src/comms.cpp @@ -571,7 +571,6 @@ void tryWiFi() { Udp.begin(9031); remoteip = IPAddress (WiFi.localIP()[0], WiFi.localIP()[1], WiFi.localIP()[2], subnetclient); if (!setupmode) tftPrint(0, myLanguage[language][57], 155, 128, InsignificantColor, InsignificantColorSmooth, 28); - wifi = true; } else { if (!setupmode) tftPrint(0, myLanguage[language][56], 155, 128, SignificantColor, SignificantColorSmooth, 28); Server.end(); diff --git a/src/gui.cpp b/src/gui.cpp index 37d183b..9ecafe6 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -2244,6 +2244,7 @@ void DoMenu() { XDRGTK_key = XDRGTK_key_input.getValue(); EEPROM.writeString(EE_STRING_XDRGTK_KEY, XDRGTK_key); EEPROM.commit(); + wifi = true; tryWiFi(); delay(2000); menuopen = false;