summaryrefslogtreecommitdiff
path: root/nuttx/configs/viewtool-stm32f107/src/stm32_nsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/viewtool-stm32f107/src/stm32_nsh.c')
-rw-r--r--nuttx/configs/viewtool-stm32f107/src/stm32_nsh.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/configs/viewtool-stm32f107/src/stm32_nsh.c b/nuttx/configs/viewtool-stm32f107/src/stm32_nsh.c
index 7f860e989..6d8e2b694 100644
--- a/nuttx/configs/viewtool-stm32f107/src/stm32_nsh.c
+++ b/nuttx/configs/viewtool-stm32f107/src/stm32_nsh.c
@@ -42,6 +42,8 @@
#include <sys/types.h>
#include <syslog.h>
+#include <nuttx/board.h>
+
#include "viewtool_stm32f107.h"
/****************************************************************************
@@ -68,14 +70,14 @@
****************************************************************************/
/****************************************************************************
- * Name: nsh_archinitialize
+ * Name: board_app_initialize
*
* Description:
* Perform architecture specific initialization
*
****************************************************************************/
-int nsh_archinitialize(void)
+int board_app_initialize(void)
{
#ifdef CONFIG_MPL115A
stm32_mpl115ainitialize("/dev/press");