mirror of
https://xff.cz/git/u-boot/
synced 2025-10-08 19:55:12 +02:00
led: enable LEDST_BLINK state unconditionally
Changes: * enable LEDST_BLINK state unconditionally * function led_set_period() becomes available when CONFIG_LED_BLINK is disabled. This makes led code simpler. * fix cmd/led.c to work properly when LEDST_BLINK present, but CONFIG_LED_BLINK is disabled Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Tom Rini
parent
cb0b7ab607
commit
2a15c676fa
@@ -13,9 +13,7 @@ enum led_state_t {
|
||||
LEDST_OFF = 0,
|
||||
LEDST_ON = 1,
|
||||
LEDST_TOGGLE,
|
||||
#ifdef CONFIG_LED_BLINK
|
||||
LEDST_BLINK,
|
||||
#endif
|
||||
|
||||
LEDST_COUNT,
|
||||
};
|
||||
|
Reference in New Issue
Block a user