Add safe ESP32 WiFi compatibility controls and unified status
This commit is contained in:
1 parent
d3bbd5a4d0
commit
9363ad4f95
22 files changed
+1555
-38
No files matched your search
@@ -176,7 +176,8 @@ static bool bluetoothWiFiCoexistenceRequired() {
|
||||
// Any running WebConfig instance therefore has no active Bluetooth stack.
|
||||
return false;
|
||||
#elif defined(BLE_PIN_CODE) && defined(WIFI_SSID)
|
||||
return true;
|
||||
return mesh::wifi::activeCompanionMode()
|
||||
!= mesh::wifi::CompanionMode::WiFiOnly;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user