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/twr-k60n512 | |
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/twr-k60n512')
-rw-r--r-- | nuttx/configs/twr-k60n512/src/up_boot.c | 6 | ||||
-rw-r--r-- | nuttx/configs/twr-k60n512/src/up_leds.c | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/nuttx/configs/twr-k60n512/src/up_boot.c b/nuttx/configs/twr-k60n512/src/up_boot.c index ee6d4fa0d..64f83cfc4 100644 --- a/nuttx/configs/twr-k60n512/src/up_boot.c +++ b/nuttx/configs/twr-k60n512/src/up_boot.c @@ -1,8 +1,7 @@ /************************************************************************************ * configs/twr-k60n512/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,13 +41,14 @@ #include <debug.h> +#include <nuttx/board.h> #include <arch/board/board.h> #include "up_arch.h" #include "twrk60-internal.h" /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /************************************************************************************ diff --git a/nuttx/configs/twr-k60n512/src/up_leds.c b/nuttx/configs/twr-k60n512/src/up_leds.c index ba6a18302..8abbd190e 100644 --- a/nuttx/configs/twr-k60n512/src/up_leds.c +++ b/nuttx/configs/twr-k60n512/src/up_leds.c @@ -1,8 +1,7 @@ /**************************************************************************** * configs/twr-k60n512/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 @@ -42,11 +41,13 @@ #include <debug.h> +#include <nuttx/board.h> + #include "kinetis_internal.h" #include "twrk60-internal.h" /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /* The TWR-K60N512 has four LEDs: * |