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/lpcxpresso-lpc1768 | |
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/lpcxpresso-lpc1768')
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c | 6 | ||||
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c b/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c index 2e09c6bf6..beed75f80 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c +++ b/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c @@ -1,8 +1,7 @@ /************************************************************************************ * configs/lpcxpresso-lpc1768/src/up_boot.c - * arch/arm/src/board/up_boot.c * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -42,6 +41,7 @@ #include <debug.h> +#include <nuttx/board.h> #include <arch/board/board.h> #include "up_arch.h" @@ -51,7 +51,7 @@ #include "lpcxpresso_internal.h" /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /************************************************************************************ diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c b/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c index 11abf9def..dd5e9de97 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c +++ b/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c @@ -1,8 +1,7 @@ /**************************************************************************** * configs/lpcxpresso-lpc1768/src/up_leds.c - * arch/arm/src/board/up_leds.c * - * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved. + * Copyright (C) 2011, 2013, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -43,6 +42,8 @@ #include <stdbool.h> #include <debug.h> +#include <nuttx/board.h> + #include "up_arch.h" #include "up_internal.h" |