Goodbye, "AM AGC"

This commit is contained in:
2026-02-18 12:52:49 +01:00
parent 21fd8d00ec
commit 9e6cf2bd72
2 changed files with 7 additions and 8 deletions

View File

@@ -392,11 +392,11 @@ boolean WiFiConnect::startConfigurationPortal(AP_Continue apcontinue, const char
_lastAPPage = millis();
_readyToConnect = false;
while (true) {
if (apcontinue != AP_WAIT) // Stay here if the AP_LOOP enabled
if (apcontinue != AP_WAIT) {
if (millis() - (unsigned long int)_lastAPPage >= ( (unsigned int)_apTimeoutMins * 60 * 1000)) {
break;
}
}
dnsServer->processNextRequest();
server->handleClient();

View File

@@ -4462,7 +4462,7 @@ void DoMenu() {
case 7: tft.pushImage(0, 0, 320, 240, configurationbackground_wo); break;
default: tft.pushImage(0, 0, 320, 240, configurationbackground); break;
}
tftPrint(ACENTER, textUI(189 + menupage - 1), 160, 6, ActiveColor, ActiveColorSmooth, 16);
tftPrint(ACENTER, textUI(43 + menupage - 1), 160, 6, ActiveColor, ActiveColorSmooth, 16);
}
}
@@ -5218,9 +5218,9 @@ void DoMenu() {
wifi = false;
tryWiFi();
}
WiFiConnectParam XDRGTK_key_text("Set XDRGTK Password: (max 8 characters)");
WiFiConnectParam XDRGTK_key_input("XDRGTK_key", "Password", key, 9);
if (!setWiFiConnectParam) {
WiFiConnectParam XDRGTK_key_text("Set XDRGTK Password: (max 8 characters)");
wc.addParameter(&XDRGTK_key_text);
wc.addParameter(&XDRGTK_key_input);
setWiFiConnectParam = true;
@@ -5235,7 +5235,6 @@ void DoMenu() {
menuopen = false;
BuildMenu();
} break;
case ITEM4:
if (wifi) {
Infoboxprint(textUI(55));