mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Standardize naming of user LEDs interface functions
This commit is contained in:
@@ -97,6 +97,6 @@ void nuc_boardinitialize(void)
|
||||
/* Configure on-board LED if LED support has been selected. */
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
nuc_ledinit();
|
||||
nuc_led_initialize();
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -113,14 +113,14 @@
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nuc_ledinit
|
||||
* Name: nuc_led_initialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the on-board LED
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void nuc_ledinit(void)
|
||||
void nuc_led_initialize(void)
|
||||
{
|
||||
led_dumpgpio("Before configuration");
|
||||
nuc_configgpio(GPIO_LED);
|
||||
|
||||
@@ -114,7 +114,7 @@ void weak_function nuc_usbinitialize(void);
|
||||
#endif
|
||||
|
||||
/****************************************************************************************************
|
||||
* Name: nuc_ledinit
|
||||
* Name: nuc_led_initialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the on-board LED
|
||||
@@ -122,7 +122,7 @@ void weak_function nuc_usbinitialize(void);
|
||||
****************************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
void nuc_ledinit(void);
|
||||
void nuc_led_initialize(void);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user