summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam4s-xplained/src/sam_autoleds.c
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/sam4s-xplained/src/sam_autoleds.c
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/sam4s-xplained/src/sam_autoleds.c')
-rw-r--r--nuttx/configs/sam4s-xplained/src/sam_autoleds.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/configs/sam4s-xplained/src/sam_autoleds.c b/nuttx/configs/sam4s-xplained/src/sam_autoleds.c
index 9b912e4ff..4cf01a1a1 100644
--- a/nuttx/configs/sam4s-xplained/src/sam_autoleds.c
+++ b/nuttx/configs/sam4s-xplained/src/sam_autoleds.c
@@ -97,10 +97,10 @@
****************************************************************************/
/****************************************************************************
- * Name: up_ledinit
+ * Name: board_led_initialize
****************************************************************************/
-void up_ledinit(void)
+void board_led_initialize(void)
{
/* Configure LED1-2 GPIOs for output */
@@ -109,10 +109,10 @@ void up_ledinit(void)
}
/****************************************************************************
- * Name: up_ledon
+ * Name: board_led_on
****************************************************************************/
-void up_ledon(int led)
+void board_led_on(int led)
{
bool led1on = false;
bool led2on = false;
@@ -140,10 +140,10 @@ void up_ledon(int led)
}
/****************************************************************************
- * Name: up_ledoff
+ * Name: board_led_off
****************************************************************************/
-void up_ledoff(int led)
+void board_led_off(int led)
{
if (led != 2)
{