mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Rename board_led_initialize to board_autoled_initiaize
This commit is contained in:
+1
-1
Submodule arch updated: 47cd8e4cd2...848fedb13d
+1
-1
Submodule configs updated: b782406b1e...2ae6dba193
@@ -362,7 +362,7 @@ void board_lcd_uninitialize(void);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: board_led_initialize
|
* Name: board_autoled_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* This functions is called very early in initialization to perform board-
|
* This functions is called very early in initialization to perform board-
|
||||||
@@ -370,12 +370,12 @@ void board_lcd_uninitialize(void);
|
|||||||
* things as, for example, configure GPIO pins to drive the LEDs and also
|
* things as, for example, configure GPIO pins to drive the LEDs and also
|
||||||
* putting the LEDs in their correct initial state.
|
* putting the LEDs in their correct initial state.
|
||||||
*
|
*
|
||||||
* NOTE: In most architectures, board_led_initialize() is called from
|
* NOTE: In most architectures, board_autoled_initialize() is called from
|
||||||
* board-specific initialization logic. But there are a few architectures
|
* board-specific initialization logic. But there are a few architectures
|
||||||
* where this initialization function is still called from common chip
|
* where this initialization function is still called from common chip
|
||||||
* architecture logic. This interface is not, however, a common board
|
* architecture logic. This interface is not, however, a common board
|
||||||
* interface in any event and, hence, the usage of the name
|
* interface in any event and, hence, the usage of the name
|
||||||
* board_led_initialize is deprecated.
|
* board_autoled_initialize is deprecated.
|
||||||
*
|
*
|
||||||
* WARNING: This interface name will eventually be removed; do not use it
|
* WARNING: This interface name will eventually be removed; do not use it
|
||||||
* in new board ports. New implementations should use the naming
|
* in new board ports. New implementations should use the naming
|
||||||
@@ -391,9 +391,9 @@ void board_lcd_uninitialize(void);
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_LEDS
|
#ifdef CONFIG_ARCH_LEDS
|
||||||
void board_led_initialize(void);
|
void board_autoled_initialize(void);
|
||||||
#else
|
#else
|
||||||
# define board_led_initialize()
|
# define board_autoled_initialize()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user