diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 8c67c28ada2..57f13838841 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -2679,13 +2679,13 @@ else /* Defined in board/up_leds.c */ #ifdef CONFIG_ARCH_LEDS -extern void up_ledinit(void); -extern void up_ledon(int led); -extern void up_ledoff(int led); +extern void board_led_initialize(void); +extern void board_led_on(int led); +extern void board_led_off(int led); #else -# define up_ledinit() -# define up_ledon(led) -# define up_ledoff(led) +# define board_led_initialize() +# define board_led_on(led) +# define board_led_off(led) #endif
@@ -2693,14 +2693,14 @@ extern void up_ledoff(int led);
void up_ledinit(void) is called early in power-up initialization to initialize the LED hardware.
+ void board_led_initialize(void) is called early in power-up initialization to initialize the LED hardware.
up_ledon(int led) is called to instantiate the LED presentation of the event.
+ board_led_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.
up_ledoff(int ledis called to terminate the LED presentation of the event.
+ board_led_off(int ledis 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.