summaryrefslogtreecommitdiff
path: root/nuttx/configs/vsn
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-27 18:49:24 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-27 18:49:24 -0600
commitaa622de663e0f96c5d7d4e4bc1d977b4febe6786 (patch)
tree89836694aa47e1a642b4051ec73c415ed2909377 /nuttx/configs/vsn
parentf29a691c031e9d277e6153eb29ecd3dedf90e950 (diff)
downloadnuttx-aa622de663e0f96c5d7d4e4bc1d977b4febe6786.tar.gz
nuttx-aa622de663e0f96c5d7d4e4bc1d977b4febe6786.tar.bz2
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/vsn')
-rw-r--r--nuttx/configs/vsn/src/boot.c13
-rw-r--r--nuttx/configs/vsn/src/leds.c9
2 files changed, 9 insertions, 13 deletions
diff --git a/nuttx/configs/vsn/src/boot.c b/nuttx/configs/vsn/src/boot.c
index e9ce24fbe..bb75b307b 100644
--- a/nuttx/configs/vsn/src/boot.c
+++ b/nuttx/configs/vsn/src/boot.c
@@ -2,7 +2,7 @@
* configs/vsn/src/boot.c
* arch/arm/src/board/boot.c
*
- * Copyright (C) 2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2009, 2015 Gregory Nutt. All rights reserved.
* Copyright (c) 2011 Uros Platise. All rights reserved.
*
* Authors: Gregory Nutt <gnutt@nuttx.org>
@@ -37,14 +37,13 @@
*
************************************************************************************/
-/** \file
- * \author Gregory Nutt, Uros Platise
- * \brief VSN Button
- */
+#include <nuttx/config.h>
#include <debug.h>
-#include "vsn.h"
+#include <nuttx/board.h>
+
+#include "vsn.h"
/************************************************************************************
* Public Functions
@@ -53,7 +52,7 @@
/** Initialize Board
*
* All STM32 architectures must provide the following entry point. This entry point
- * is called early in the intitialization -- after all memory has been configured
+ * is called early in the initialization -- after all memory has been configured
* and mapped but before any devices have been initialized.
*
**/
diff --git a/nuttx/configs/vsn/src/leds.c b/nuttx/configs/vsn/src/leds.c
index 77a5fd7ea..3875e0f3c 100644
--- a/nuttx/configs/vsn/src/leds.c
+++ b/nuttx/configs/vsn/src/leds.c
@@ -35,12 +35,9 @@
*
****************************************************************************/
-/** \file
- * \author Uros Platise
- * \brief VSN LED
- */
-
#include <nuttx/config.h>
+
+#include <nuttx/board.h>
#include <arch/board/board.h>
#ifdef CONFIG_ARCH_LEDS
@@ -54,7 +51,7 @@
#include "vsn.h"
/****************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG