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

@@ -345,6 +345,16 @@ void setup()
digitalWrite(USER_LED, HIGH ^ LED_STATE_ON);
#endif
#ifdef WIFI_LED
pinMode(WIFI_LED, OUTPUT);
digitalWrite(WIFI_LED, LOW);
#endif
#ifdef BLE_LED
pinMode(BLE_LED, OUTPUT);
digitalWrite(BLE_LED, LOW);
#endif
#if defined(T_DECK)
// GPIO10 manages all peripheral power supplies
// Turn on peripheral power immediately after MUC starts.