fix led not turning off

This commit is contained in:
2026-03-26 21:49:06 -04:00
parent 197f4a640c
commit dc935dd72d
2 changed files with 28 additions and 14 deletions
+8
View File
@@ -18,4 +18,12 @@ menu "Calendink LED Configuration"
default 21
help
GPIO pin for the LED.
config CALENDINK_LED_ACTIVE_LOW
bool "LED is Active Low (0 turns it ON)"
depends on CALENDINK_LED_TYPE_SIMPLE
default y
help
Select this if your LED turns ON when the GPIO is driven low (0V).
Many development boards wire LEDs between VCC and the GPIO pin, making them active low.
endmenu