From 2a15c676fa3413e7995e2a8b47e8932300e9e70b Mon Sep 17 00:00:00 2001 From: Mikhail Kshevetskiy Date: Fri, 19 Jul 2024 13:12:11 +0400 Subject: 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 Reviewed-by: Simon Glass --- include/led.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/led.h b/include/led.h index a6353166289..9b24a4ce188 100644 --- a/include/led.h +++ b/include/led.h @@ -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, }; -- cgit v1.2.3