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:
Jonathan Bennett
2026-01-31 12:15:06 -06:00
committed by GitHub
parent 7b03980e0a
commit 1d30342c00
13 changed files with 12 additions and 35 deletions
@@ -11,8 +11,7 @@ static const uint8_t A2 = PIN_A2;
static const uint8_t A3 = PIN_A3;
// LEDs
#define PIN_LED (23u)
#define PIN_LED1 PIN_LED
#define PIN_LED1 (23u)
#define ADC_RESOLUTION 12
+1 -1
View File
@@ -5,7 +5,7 @@
#define BUTTON_PIN 2
#define BUTTON_NEED_PULLUP
#define LED_PIN PIN_LED
#define LED_PIN PIN_LED1
#define ledOff(pin) pinMode(pin, INPUT)
#undef BATTERY_PIN