mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
rename up_led*() functions to board_led_*()
This commit is contained in:
@@ -129,7 +129,7 @@ void a1x_led_initialize(void)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_ledon
|
||||
* Name: board_led_on
|
||||
*
|
||||
* Description:
|
||||
* Select the "logical" ON state:
|
||||
@@ -153,7 +153,7 @@ void a1x_led_initialize(void)
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
void up_ledon(int led)
|
||||
void board_led_on(int led)
|
||||
{
|
||||
switch (led)
|
||||
{
|
||||
@@ -183,7 +183,7 @@ void up_ledon(int led)
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_ledoff
|
||||
* Name: board_led_off
|
||||
*
|
||||
* Description:
|
||||
* Select the "logical" OFF state:
|
||||
@@ -207,7 +207,7 @@ void up_ledon(int led)
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
void up_ledoff(int led)
|
||||
void board_led_off(int led)
|
||||
{
|
||||
switch (led)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user