Improve support for Heltec Wireless Bridge (#6647)

* Use BLE_LED where present for CONNECTED/DISCONNECTED

* Use WIFI_LED where present for WiFi started/stopped (as AP) or connected/disconnected (as Station)

* improve support for Heltec Wireless Bridge

* satisfy 'trunk fmt'
This commit is contained in:
Andreas 'count' Kotes
2025-06-10 05:54:07 +02:00
committed by GitHub
parent 79b8e7b1cf
commit c6c2a4d4dd
7 changed files with 88 additions and 26 deletions

View File

@@ -171,6 +171,11 @@ void NimbleBluetooth::deinit()
{
#ifdef ARCH_ESP32
LOG_INFO("Disable bluetooth until reboot");
#ifdef BLE_LED
digitalWrite(BLE_LED, LOW);
#endif
NimBLEDevice::deinit();
#endif
}