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:
@@ -128,19 +128,19 @@ void nuc_ledinit(void)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_ledon
|
||||
* Name: board_led_on
|
||||
****************************************************************************/
|
||||
|
||||
void up_ledon(int led)
|
||||
void board_led_on(int led)
|
||||
{
|
||||
nuc_gpiowrite(GPIO_LED, false);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_ledoff
|
||||
* Name: board_led_off
|
||||
****************************************************************************/
|
||||
|
||||
void up_ledoff(int led)
|
||||
void board_led_off(int led)
|
||||
{
|
||||
nuc_gpiowrite(GPIO_LED, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user