rename up_led*() functions to board_led_*()

This commit is contained in:
Gregory Nutt
2014-01-24 14:28:49 -06:00
parent f797601f19
commit 42a86a9cba
139 changed files with 610 additions and 610 deletions
+2 -2
View File
@@ -321,11 +321,11 @@ void sam_sram_initialize(void);
#endif
/************************************************************************************
* Name: up_ledinit
* Name: board_led_initialize
************************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void up_ledinit(void);
void board_led_initialize(void);
#endif
/****************************************************************************
+6 -6
View File
@@ -116,10 +116,10 @@
****************************************************************************/
/****************************************************************************
* Name: up_ledinit
* Name: board_led_initialize
****************************************************************************/
void up_ledinit(void)
void board_led_initialize(void)
{
/* Configure RX and TX LED GPIOs for output */
@@ -129,10 +129,10 @@ void up_ledinit(void)
}
/****************************************************************************
* Name: up_ledon
* Name: board_led_on
****************************************************************************/
void up_ledon(int led)
void board_led_on(int led)
{
switch (led)
{
@@ -178,10 +178,10 @@ void up_ledon(int led)
}
/****************************************************************************
* Name: up_ledoff
* Name: board_led_off
****************************************************************************/
void up_ledoff(int led)
void board_led_off(int led)
{
switch (led)
{
+1 -1
View File
@@ -70,6 +70,6 @@ void sam_boardinitialize(void)
#ifdef CONFIG_ARCH_LEDS
/* Configure on-board LEDs if LED support has been selected. */
up_ledinit();
board_led_initialize();
#endif
}