summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/lpcxpresso-lpc1768
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/lpcxpresso-lpc1768
parentcafcbeb3a0d16b13048d14fa8ef75cce2a87f738 (diff)
rename up_led*() functions to board_led_*()
Diffstat (limited to 'nuttx/configs/lpcxpresso-lpc1768')
-rw-r--r--nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c2
-rw-r--r--nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c b/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c
index 53e4c2a9de..2e09c6bf61 100644
--- a/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c
+++ b/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c
@@ -88,6 +88,6 @@ void lpc17_boardinitialize(void)
/* Configure on-board LEDs if LED support has been selected. */
#ifdef CONFIG_ARCH_LEDS
- up_ledinit();
+ board_led_initialize();
#endif
}
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c b/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c
index d0dc197279..11abf9def8 100644
--- a/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c
+++ b/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c
@@ -86,10 +86,10 @@ static bool g_ncstate;
****************************************************************************/
/****************************************************************************
- * Name: up_ledinit
+ * Name: board_led_initialize
****************************************************************************/
-void up_ledinit(void)
+void board_led_initialize(void)
{
/* Configure all LED GPIO lines */
@@ -98,10 +98,10 @@ void up_ledinit(void)
}
/****************************************************************************
- * Name: up_ledon
+ * Name: board_led_on
****************************************************************************/
-void up_ledon(int led)
+void board_led_on(int led)
{
bool off;
@@ -125,10 +125,10 @@ void up_ledon(int led)
}
/****************************************************************************
- * Name: up_ledoff
+ * Name: board_led_off
****************************************************************************/
-void up_ledoff(int led)
+void board_led_off(int led)
{
bool off;