mirror of
https://github.com/meshtastic/firmware.git
synced 2026-02-01 22:51:59 +00:00
Don't ever define PIN_LED or BLE_LED_INVERTED (#9494)
* Don't ever define PIN_LED * Deprecate BLE_LED_INVERTED
This commit is contained in:
@@ -757,11 +757,7 @@ void NimbleBluetooth::deinit()
|
||||
isDeInit = true;
|
||||
|
||||
#ifdef BLE_LED
|
||||
#ifdef BLE_LED_INVERTED
|
||||
digitalWrite(BLE_LED, HIGH);
|
||||
#else
|
||||
digitalWrite(BLE_LED, LOW);
|
||||
#endif
|
||||
digitalWrite(BLE_LED, LED_STATE_OFF);
|
||||
#endif
|
||||
#ifndef NIMBLE_TWO
|
||||
NimBLEDevice::deinit();
|
||||
|
||||
Reference in New Issue
Block a user