From b248a6b72b6aed09472ed56d32ccb43ec82e0453 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 19 Sep 2017 08:26:47 -0600 Subject: [PATCH] stm3240g-eval: Remove some bad conditional compilation --- configs/stm3240g-eval/src/stm32_boot.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/configs/stm3240g-eval/src/stm32_boot.c b/configs/stm3240g-eval/src/stm32_boot.c index 864fd226637..43e43352c5e 100644 --- a/configs/stm3240g-eval/src/stm32_boot.c +++ b/configs/stm3240g-eval/src/stm32_boot.c @@ -147,7 +147,6 @@ static int board_initthread(int argc, char *argv[]) { int ret; -#if defined(CONFIG_NSH_LIBRARY) && !defined(CONFIG_LIB_BOARDCTL) /* Perform NSH initialization here instead of from the NSH. This * alternative NSH initialization is necessary when NSH is ran in user-space * but the initialization function must run in kernel space. @@ -158,7 +157,6 @@ static int board_initthread(int argc, char *argv[]) { gerr("ERROR: stm32_bringup failed: %d\n", ret); } -#endif #ifdef HAVE_NXSTART /* Initialize the NX server */