summaryrefslogtreecommitdiff
path: root/nuttx/configs/mx1ads
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/mx1ads
parentcafcbeb3a0d16b13048d14fa8ef75cce2a87f738 (diff)
downloadnuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.tar.gz
nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.tar.bz2
nuttx-ce7d02b55783779750eb4da036ad2185e7f7cf44.zip
rename up_led*() functions to board_led_*()
Diffstat (limited to 'nuttx/configs/mx1ads')
-rw-r--r--nuttx/configs/mx1ads/src/up_leds.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/configs/mx1ads/src/up_leds.c b/nuttx/configs/mx1ads/src/up_leds.c
index 30ba2bdbe..dea288a06 100644
--- a/nuttx/configs/mx1ads/src/up_leds.c
+++ b/nuttx/configs/mx1ads/src/up_leds.c
@@ -59,11 +59,11 @@
****************************************************************************/
/****************************************************************************
- * Name: up_ledinit
+ * Name: board_led_initialize
****************************************************************************/
#ifdef CONFIG_ARCH_LEDS
-void up_ledinit(void)
+void board_led_initialize(void)
{
/* Configure Port A, Bit 2 as an output, initial value=1 */
@@ -71,10 +71,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)
{
@@ -96,10 +96,10 @@ void up_ledon(int led)
}
/****************************************************************************
- * Name: up_ledoff
+ * Name: board_led_off
****************************************************************************/
-void up_ledoff(int led)
+void board_led_off(int led)
{
imxgpio_clroutput(GPIOA, 2); /* Port A, Bit 2 = 0 */
}