summaryrefslogtreecommitdiff
path: root/nuttx/configs/c5471evm
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-10 18:16:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-10 18:16:20 +0000
commit28a9cfef1704bbb553cecc1527360553ad56f010 (patch)
tree758aa703cfc8533a53780b0ceac66d7a28ceda23 /nuttx/configs/c5471evm
parent83528f134e21945fef569980f4ac7ba5fe13db0a (diff)
downloadpx4-nuttx-28a9cfef1704bbb553cecc1527360553ad56f010.tar.gz
px4-nuttx-28a9cfef1704bbb553cecc1527360553ad56f010.tar.bz2
px4-nuttx-28a9cfef1704bbb553cecc1527360553ad56f010.zip
First cut at ZDS-II link command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@544 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/c5471evm')
-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)
{