mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
rename up_led*() functions to board_led_*()
This commit is contained in:
@@ -118,7 +118,7 @@ void lpc31_boardinitialize(void)
|
||||
/* Configure on-board LEDs if LED support has been selected. */
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
up_ledinit();
|
||||
board_led_initialize();
|
||||
#endif
|
||||
|
||||
/* Set up mass storage device to support on demand paging */
|
||||
|
||||
@@ -439,6 +439,6 @@ const struct lpc31_clkinit_s g_boardclks =
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_ledinit
|
||||
* Name: board_led_initialize
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
@@ -80,27 +80,27 @@
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_ledinit
|
||||
* Name: board_led_initialize
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
void up_ledinit(void)
|
||||
void board_led_initialize(void)
|
||||
{
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_ledon
|
||||
* Name: board_led_on
|
||||
****************************************************************************/
|
||||
|
||||
void up_ledon(int led)
|
||||
void board_led_on(int led)
|
||||
{
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_ledoff
|
||||
* Name: board_led_off
|
||||
****************************************************************************/
|
||||
|
||||
void up_ledoff(int led)
|
||||
void board_led_off(int led)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user