summaryrefslogtreecommitdiff
path: root/nuttx/configs/c5471evm/src/up_leds.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/c5471evm/src/up_leds.c')
-rw-r--r--nuttx/configs/c5471evm/src/up_leds.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/nuttx/configs/c5471evm/src/up_leds.c b/nuttx/configs/c5471evm/src/up_leds.c
index 59ba2464b..1299ed88b 100644
--- a/nuttx/configs/c5471evm/src/up_leds.c
+++ b/nuttx/configs/c5471evm/src/up_leds.c
@@ -1,7 +1,7 @@
-/************************************************************
+/****************************************************************************
* up_leds.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,40 +31,40 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Included Files
- ************************************************************/
+ ****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
#include "up_internal.h"
-/************************************************************
+/****************************************************************************
* Definitions
- ************************************************************/
+ ****************************************************************************/
#define CS2 *(volatile uint32*)0xffff2e08
#define LEDS *(volatile uint32*)0x01000000
-/************************************************************
+/****************************************************************************
* Private Data
- ************************************************************/
+ ****************************************************************************/
static uint32 g_ledstate;
-/************************************************************
+/****************************************************************************
* Private Functions
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Public Funtions
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Name: up_ledinit
- ************************************************************/
+ ****************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void up_ledinit(void)
@@ -79,9 +79,9 @@ void up_ledinit(void)
LEDS = g_ledstate;
}
-/************************************************************
+/****************************************************************************
* Name: up_ledon
- ************************************************************/
+ ****************************************************************************/
void up_ledon(int led)
{
@@ -92,9 +92,9 @@ void up_ledon(int led)
}
}
-/************************************************************
+/****************************************************************************
* Name: up_ledoff
- ************************************************************/
+ ****************************************************************************/
void up_ledoff(int led)
{