After configuring WiFi it was not automaticly activated
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user