summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/stm32f3discovery
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-24 14:28:49 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-24 14:28:49 -0600
commitce7d02b55783779750eb4da036ad2185e7f7cf44 (patch)
tree8d1eebba9a1bb5c7942bcf89c617fff85df96045 /nuttx/configs/stm32f3discovery
parentcafcbeb3a0d16b13048d14fa8ef75cce2a87f738 (diff)
rename up_led*() functions to board_led_*()
Diffstat (limited to 'nuttx/configs/stm32f3discovery')
-rw-r--r--nuttx/configs/stm32f3discovery/src/up_autoleds.c20
-rw-r--r--nuttx/configs/stm32f3discovery/src/up_boot.c2
2 files changed, 11 insertions, 11 deletions
diff --git a/nuttx/configs/stm32f3discovery/src/up_autoleds.c b/nuttx/configs/stm32f3discovery/src/up_autoleds.c
index 1191fb689c..582b2e55e6 100644
--- a/nuttx/configs/stm32f3discovery/src/up_autoleds.c
+++ b/nuttx/configs/stm32f3discovery/src/up_autoleds.c
@@ -85,10 +85,10 @@ static const uint32_t g_ledcfg[BOARD_NLEDS] =
****************************************************************************/
/****************************************************************************
- * Name: up_ledonoff
+ * Name: board_led_onoff
****************************************************************************/
-void up_ledonoff(int led, bool state)
+void board_led_onoff(int led, bool state)
{
if ((unsigned)led < BOARD_NLEDS)
{
@@ -101,10 +101,10 @@ void up_ledonoff(int led, bool state)
****************************************************************************/
/****************************************************************************
- * Name: up_ledinit
+ * Name: board_led_initialize
****************************************************************************/
-void up_ledinit(void)
+void board_led_initialize(void)
{
int i;
@@ -117,21 +117,21 @@ void up_ledinit(void)
}
/****************************************************************************
- * Name: up_ledon
+ * Name: board_led_on
****************************************************************************/
-void up_ledon(int led)
+void board_led_on(int led)
{
- up_ledonoff(led, true);
+ board_led_onoff(led, true);
}
/****************************************************************************
- * Name: up_ledoff
+ * Name: board_led_off
****************************************************************************/
-void up_ledoff(int led)
+void board_led_off(int led)
{
- up_ledonoff(led, false);
+ board_led_onoff(led, false);
}
#endif /* CONFIG_ARCH_LEDS */
diff --git a/nuttx/configs/stm32f3discovery/src/up_boot.c b/nuttx/configs/stm32f3discovery/src/up_boot.c
index 8055c38108..5d2c99697f 100644
--- a/nuttx/configs/stm32f3discovery/src/up_boot.c
+++ b/nuttx/configs/stm32f3discovery/src/up_boot.c
@@ -97,6 +97,6 @@ void stm32_boardinitialize(void)
/* Configure on-board LEDs if LED support has been selected. */
#ifdef CONFIG_ARCH_LEDS
- up_ledinit();
+ board_led_initialize();
#endif
}