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 (millis() - (unsigned long int)_lastAPPage >= ( (unsigned int)_apTimeoutMins * 60 * 1000)) {
break;
}
if (apcontinue != AP_WAIT) {
if (millis() - (unsigned long int)_lastAPPage >= ( (unsigned int)_apTimeoutMins * 60 * 1000)) {
break;
}
}
dnsServer->processNextRequest();
server->handleClient();