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:
@@ -87,6 +87,6 @@ void at90usb_boardinitialize(void)
|
||||
/* Configure on-board LEDs if LED support has been selected. */
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
at90usb_ledinit();
|
||||
at90usb_led_initialize();
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -88,10 +88,10 @@ static bool g_ncoff;
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: at90usb_ledinit
|
||||
* Name: at90usb_led_initialize
|
||||
****************************************************************************/
|
||||
|
||||
void at90usb_ledinit(void)
|
||||
void at90usb_led_initialize(void)
|
||||
{
|
||||
/* The Teensy's single LED is on Port D, Pin 6. Configur this pin as an
|
||||
* output and turn it OFF. The "other" side of the LED is onnected to
|
||||
|
||||
@@ -82,7 +82,7 @@ void weak_function at90usb_spiinitialize(void);
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
* Name: at90usb_ledinit
|
||||
* Name: at90usb_led_initialize
|
||||
*
|
||||
* Description:
|
||||
* Configure on-board LEDs if LED support has been selected.
|
||||
@@ -90,7 +90,7 @@ void weak_function at90usb_spiinitialize(void);
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
void at90usb_ledinit(void);
|
||||
void at90usb_led_initialize(void);
|
||||
#endif
|
||||
|
||||
#undef EXTERN
|
||||
|
||||
Reference in New Issue
Block a user