diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-02-27 18:49:24 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-02-27 18:49:24 -0600 |
commit | aa622de663e0f96c5d7d4e4bc1d977b4febe6786 (patch) | |
tree | 89836694aa47e1a642b4051ec73c415ed2909377 /nuttx/configs/spark | |
parent | f29a691c031e9d277e6153eb29ecd3dedf90e950 (diff) | |
download | px4-nuttx-aa622de663e0f96c5d7d4e4bc1d977b4febe6786.tar.gz px4-nuttx-aa622de663e0f96c5d7d4e4bc1d977b4febe6786.tar.bz2 px4-nuttx-aa622de663e0f96c5d7d4e4bc1d977b4febe6786.zip |
configs/: board function prototypes are now in include/nuttx/board.h. Remove from board header file; Add inclusion of nuttx/board.h to all files referencing board functions
Diffstat (limited to 'nuttx/configs/spark')
-rw-r--r-- | nuttx/configs/spark/src/up_autoleds.c | 5 | ||||
-rw-r--r-- | nuttx/configs/spark/src/up_boot.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/nuttx/configs/spark/src/up_autoleds.c b/nuttx/configs/spark/src/up_autoleds.c index dc34fa03b..91cebf611 100644 --- a/nuttx/configs/spark/src/up_autoleds.c +++ b/nuttx/configs/spark/src/up_autoleds.c @@ -1,7 +1,7 @@ /**************************************************************************** * configs/spark/src/up_autoleds.c * - * Copyright (C) 2012-2013 Gregory Nutt. All rights reserved. + * Copyright (C) 2012-2013, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * David Sidrane <david_s5@nscdg.com> * @@ -44,6 +44,7 @@ #include <stdbool.h> #include <debug.h> +#include <nuttx/board.h> #include <arch/board/board.h> #include "chip.h" @@ -55,7 +56,7 @@ #ifdef CONFIG_ARCH_LEDS /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG diff --git a/nuttx/configs/spark/src/up_boot.c b/nuttx/configs/spark/src/up_boot.c index 939b8cee9..9001de1c8 100644 --- a/nuttx/configs/spark/src/up_boot.c +++ b/nuttx/configs/spark/src/up_boot.c @@ -1,7 +1,7 @@ /************************************************************************************ * configs/spark/src/up_boot.c * - * Copyright (C) 2013 Gregory Nutt. All rights reserved. + * Copyright (C) 2013, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * Librae <librae8226@gmail.com> * @@ -42,13 +42,14 @@ #include <nuttx/spi/spi.h> #include <debug.h> +#include <nuttx/board.h> #include <arch/board/board.h> #include "up_arch.h" #include "spark.h" /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /************************************************************************************ |