diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-07-16 20:01:16 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-07-16 20:01:16 +0000 |
commit | 8b47a53be49fecec1408ee5081f90c9be7b8c23e (patch) | |
tree | f054cf4306d9b2cfa38ce1143a18c2b3ab039628 /nuttx/configs/eagle100/src | |
parent | c7f31bf28f105ba361108b8a29fbac35ddcccc87 (diff) | |
download | px4-nuttx-8b47a53be49fecec1408ee5081f90c9be7b8c23e.tar.gz px4-nuttx-8b47a53be49fecec1408ee5081f90c9be7b8c23e.tar.bz2 px4-nuttx-8b47a53be49fecec1408ee5081f90c9be7b8c23e.zip |
Eliminate warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2806 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/eagle100/src')
-rw-r--r-- | nuttx/configs/eagle100/src/eagle100_internal.h | 14 | ||||
-rw-r--r-- | nuttx/configs/eagle100/src/up_boot.c | 2 | ||||
-rw-r--r-- | nuttx/configs/eagle100/src/up_leds.c | 6 |
3 files changed, 19 insertions, 3 deletions
diff --git a/nuttx/configs/eagle100/src/eagle100_internal.h b/nuttx/configs/eagle100/src/eagle100_internal.h index 173f5e274..68a64bde1 100644 --- a/nuttx/configs/eagle100/src/eagle100_internal.h +++ b/nuttx/configs/eagle100/src/eagle100_internal.h @@ -2,7 +2,7 @@ * configs/eagle100/src/eagle100_internal.h
* arch/arm/src/board/eagle100_internal.n
*
- * Copyright (C) 2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -89,6 +89,18 @@ extern void weak_function lm3s_ssiinitialize(void);
+/****************************************************************************
+ * Name: up_ledinit
+ *
+ * Description:
+ * Initialize on-board LEDs.
+ *
+ ****************************************************************************/
+
+#ifdef CONFIG_ARCH_LEDS
+extern void up_ledinit(void);
+#endif
+
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_EAGLE100_SRC_EAGLE100_INTERNAL_H */
diff --git a/nuttx/configs/eagle100/src/up_boot.c b/nuttx/configs/eagle100/src/up_boot.c index a545f7e0d..61dab1653 100644 --- a/nuttx/configs/eagle100/src/up_boot.c +++ b/nuttx/configs/eagle100/src/up_boot.c @@ -2,7 +2,7 @@ * configs/eagle100/src/up_boot.c
* arch/arm/src/board/up_boot.c
*
- * Copyright (C) 2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
diff --git a/nuttx/configs/eagle100/src/up_leds.c b/nuttx/configs/eagle100/src/up_leds.c index c080bf674..e567955b3 100644 --- a/nuttx/configs/eagle100/src/up_leds.c +++ b/nuttx/configs/eagle100/src/up_leds.c @@ -2,7 +2,7 @@ * configs/eagle100/src/up_leds.c * arch/arm/src/board/up_leds.c * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -93,6 +93,10 @@ static uint8_t g_nest; /**************************************************************************** * Name: up_ledinit + * + * Description: + * Initialize on-board LEDs. + * ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS |