This commit is contained in:
Tom Fifield 2025-07-28 21:54:03 +01:00 committed by GitHub
commit 33c5fcd299
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -235,6 +235,11 @@ bool isWifiAvailable()
#ifdef USE_WS5500
} else if (config.network.eth_enabled) {
return true;
#endif
#ifndef ARCH_PORTDUINO
} else if (WiFi.status() == WL_CONNECTED) {
// it's likely we have wifi now, but user intends to turn it off in config!
return true;
#endif
} else {
return false;