mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-29 18:05:42 +00:00
Merge db5a627e7c
into cc5d00e211
This commit is contained in:
commit
33c5fcd299
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user