mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-30 02:15:41 +00:00
Merge db5a627e7c
into cc5d00e211
This commit is contained in:
commit
33c5fcd299
@ -235,6 +235,11 @@ bool isWifiAvailable()
|
|||||||
#ifdef USE_WS5500
|
#ifdef USE_WS5500
|
||||||
} else if (config.network.eth_enabled) {
|
} else if (config.network.eth_enabled) {
|
||||||
return true;
|
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
|
#endif
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user