From ec53f99fc889b5112b16651001b8e826dc44defc Mon Sep 17 00:00:00 2001
From: Gregory Nutt
#ifdef CONFIG_ARCH_LEDS -void board_led_initialize(void); -void board_led_on(int led); -void board_led_off(int led); +void board_autoled_initialize(void); +void board_autoled_on(int led); +void board_autoled_off(int led); #else -# define board_led_initialize() -# define board_led_on(led) -# define board_led_off(led) +# define board_autoled_initialize() +# define board_autoled_on(led) +# define board_autoled_off(led) #endif
@@ -4167,10 +4167,10 @@ void board_led_off(int led);
- void board_led_initialize(void)
is called early in power-up initialization to initialize the LED hardware.
+ void board_autoled_initialize(void)
is called early in power-up initialization to initialize the LED hardware.
- NOTE: In most architectures,@@ -4181,13 +4181,13 @@ void board_led_off(int led);board_led_initialize()
is called from board-specific initialization logic. + NOTE: In most architectures,board_autoled_initialize()
is called from board-specific initialization logic. But there are a few architectures where this initialization function is still called from common chip architecture logic. This interface is nott, however, a common board interface in any event.
- board_led_on(int led)
is called to instantiate the LED presentation of the event.
+ board_autoled_on(int led)
is called to instantiate the LED presentation of the event.
The led
argument is one of the definitions provided in <board-name>/include/board.h
.
board_led_off(int led
is called to terminate the LED presentation of the event.
+ board_autoled_off(int led
is called to terminate the LED presentation of the event.
The led
argument is one of the definitions provided in <board-name>/include/board.h
.
Note that only LED_INIRQ
, LED_SIGNAL
, LED_ASSERTION
, and LED_PANIC
indications are terminated.