summaryrefslogtreecommitdiff
path: root/nuttx/configs/spark
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/spark')
-rw-r--r--nuttx/configs/spark/src/up_composite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/spark/src/up_composite.c b/nuttx/configs/spark/src/up_composite.c
index 0c7a2ee96..8cb347057 100644
--- a/nuttx/configs/spark/src/up_composite.c
+++ b/nuttx/configs/spark/src/up_composite.c
@@ -310,7 +310,7 @@ static int do_composite_archinitialize(void)
int composite_archinitialize(void)
{
-#if defined(CONFIG_NSH_ARCHINIT)
+#if defined(CONFIG_NSH_ARCHINIT) && defined(CONFIG_NSH_BUILTIN_APPS)
return OK;
#else
return do_composite_archinitialize();