summaryrefslogtreecommitdiff
path: root/nuttx/configs/mcu123-lpc214x/src
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/mcu123-lpc214x/src
parentcafcbeb3a0d16b13048d14fa8ef75cce2a87f738 (diff)
downloadpx4-nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.tar.gz
px4-nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.tar.bz2
px4-nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.zip
rename up_led*() functions to board_led_*()
Diffstat (limited to 'nuttx/configs/mcu123-lpc214x/src')
-rw-r--r--nuttx/configs/mcu123-lpc214x/src/up_leds.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/configs/mcu123-lpc214x/src/up_leds.c b/nuttx/configs/mcu123-lpc214x/src/up_leds.c
index 9d399c8cc..d5c3e6437 100644
--- a/nuttx/configs/mcu123-lpc214x/src/up_leds.c
+++ b/nuttx/configs/mcu123-lpc214x/src/up_leds.c
@@ -82,11 +82,11 @@
****************************************************************************/
/****************************************************************************
- * Name: up_ledinit
+ * Name: board_led_initialize
****************************************************************************/
#ifdef CONFIG_ARCH_LEDS
-void up_ledinit(void)
+void board_led_initialize(void)
{
/* Initilize GIOs P1.16-P1.23 */
@@ -96,19 +96,19 @@ void up_ledinit(void)
}
/****************************************************************************
- * Name: up_ledon
+ * Name: board_led_on
****************************************************************************/
-void up_ledon(int led)
+void board_led_on(int led)
{
putled(LEDBIT(led),LED_CLR_OFFSET);
}
/****************************************************************************
- * Name: up_ledoff
+ * Name: board_led_off
****************************************************************************/
-void up_ledoff(int led)
+void board_led_off(int led)
{
putled(LEDBIT(led),LED_SET_OFFSET);
}