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/fire-stm32v2 | |
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/fire-stm32v2')
-rw-r--r-- | nuttx/configs/fire-stm32v2/src/up_autoleds.c | 8 | ||||
-rw-r--r-- | nuttx/configs/fire-stm32v2/src/up_boot.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/configs/fire-stm32v2/src/up_autoleds.c b/nuttx/configs/fire-stm32v2/src/up_autoleds.c index 51a8e810a..270412526 100644 --- a/nuttx/configs/fire-stm32v2/src/up_autoleds.c +++ b/nuttx/configs/fire-stm32v2/src/up_autoleds.c @@ -1,8 +1,7 @@ /**************************************************************************** * configs/fire-stm32v2/src/up_autoleds.c - * arch/arm/src/board/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> * * Redistribution and use in source and binary forms, with or without @@ -44,8 +43,9 @@ #include <stdbool.h> #include <debug.h> -#include <arch/board/board.h> +#include <nuttx/board.h> #include <nuttx/power/pm.h> +#include <arch/board/board.h> #include "chip.h" #include "up_arch.h" @@ -54,7 +54,7 @@ #include "fire-internal.h" /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG diff --git a/nuttx/configs/fire-stm32v2/src/up_boot.c b/nuttx/configs/fire-stm32v2/src/up_boot.c index 6f9d55899..503f9629b 100644 --- a/nuttx/configs/fire-stm32v2/src/up_boot.c +++ b/nuttx/configs/fire-stm32v2/src/up_boot.c @@ -1,8 +1,7 @@ /************************************************************************************ * configs/fire-stm32v2/src/up_boot.c - * arch/arm/src/board/up_boot.c * - * Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2012, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -42,13 +41,14 @@ #include <debug.h> +#include <nuttx/board.h> #include <arch/board/board.h> #include "up_arch.h" #include "fire-internal.h" /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /************************************************************************************ |