summaryrefslogtreecommitdiff
path: root/nuttx/configs/ntosd-dm320/src/up_leds.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-15 20:56:22 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-15 20:56:22 +0000
commit1375e4917dc9f9ec7ad488fa83c23d94a1053de9 (patch)
treecc9f00d272faed8cca17c115086ef4f542beec34 /nuttx/configs/ntosd-dm320/src/up_leds.c
parent08b2e5a5495fb08277274eaaf91c21069e0fbadf (diff)
downloadpx4-nuttx-1375e4917dc9f9ec7ad488fa83c23d94a1053de9.tar.gz
px4-nuttx-1375e4917dc9f9ec7ad488fa83c23d94a1053de9.tar.bz2
px4-nuttx-1375e4917dc9f9ec7ad488fa83c23d94a1053de9.zip
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2352 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/ntosd-dm320/src/up_leds.c')
-rw-r--r--nuttx/configs/ntosd-dm320/src/up_leds.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/nuttx/configs/ntosd-dm320/src/up_leds.c b/nuttx/configs/ntosd-dm320/src/up_leds.c
index 102d0a38c..15cf7b99f 100644
--- a/nuttx/configs/ntosd-dm320/src/up_leds.c
+++ b/nuttx/configs/ntosd-dm320/src/up_leds.c
@@ -1,7 +1,7 @@
-/************************************************************
- * up_leds.c
+/************************************************************************
+ * confgs/ntosd-dm320/src/up_leds.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2009 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,35 +31,35 @@
* 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
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Private Data
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Private Functions
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Public Funtions
- ************************************************************/
+ ************************************************************************/
-/************************************************************
+/************************************************************************
* Name: up_ledinit
- ************************************************************/
+ ************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void up_ledinit(void)
@@ -70,9 +70,9 @@ void up_ledinit(void)
GIO_CLEAR_OUTPUT(GIO_LED_RED);
}
-/************************************************************
+/************************************************************************
* Name: up_ledon
- ************************************************************/
+ ************************************************************************/
void up_ledon(int led)
{
@@ -86,9 +86,9 @@ void up_ledon(int led)
}
}
-/************************************************************
+/************************************************************************
* Name: up_ledoff
- ************************************************************/
+ ************************************************************************/
void up_ledoff(int led)
{