mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 21:47:28 +08:00
stm3240g-eval: Remove some bad conditional compilation
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user