Merge branch 'master' into axe-framerate-debug

This commit is contained in:
Thomas Göttgens 2022-09-23 23:08:46 +02:00 committed by GitHub
commit d8455d687c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,14 +110,9 @@ bool isSoftAPForced()
bool isWifiAvailable()
{
// If wifi status is connected, return true regardless of the radio configuration.
if (isSoftAPForced()) {
return true;
}
const char *wifiName = config.network.wifi_ssid;
if (config.network.wifi_enabled && ((config.network.wifi_ssid[0]) || forcedSoftAP)) {
if (*wifiName) {
return true;
} else {
return false;