new device: Lilygo T-Eth-Elite (#6321)

This commit is contained in:
Thomas Göttgens
2025-03-15 14:15:35 +01:00
committed by GitHub
parent 99e42b4d22
commit 1640fb105d
21 changed files with 247 additions and 17 deletions

View File

@@ -26,7 +26,9 @@
#if !defined(CONFIG_IDF_TARGET_ESP32S2) && !MESHTASTIC_EXCLUDE_BLUETOOTH
void setBluetoothEnable(bool enable)
{
#if HAS_WIFI
#ifdef USE_WS5500
if ((config.bluetooth.enabled == true) && (config.network.wifi_enabled == false))
#elif HAS_WIFI
if (!isWifiAvailable() && config.bluetooth.enabled == true)
#else
if (config.bluetooth.enabled == true)