fix led not turning off
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user