summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-11-06 01:07:32 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-11-06 01:07:32 +0000
commit3cd0ce8e626ad57b2695899278c62c057bab05ef (patch)
tree0179cd21c371a21f468e11fc7723a698567e31fa /nuttx
parented1cec224f54cb1045fbc436f3c28f71bcf3e646 (diff)
downloadpx4-nuttx-3cd0ce8e626ad57b2695899278c62c057bab05ef.tar.gz
px4-nuttx-3cd0ce8e626ad57b2695899278c62c057bab05ef.tar.bz2
px4-nuttx-3cd0ce8e626ad57b2695899278c62c057bab05ef.zip
Fix compile error when workqueue disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2233 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/sched/os_start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c
index 440fdb6c3..6f36f58a6 100644
--- a/nuttx/sched/os_start.c
+++ b/nuttx/sched/os_start.c
@@ -438,8 +438,8 @@ void os_start(void)
g_worker = task_create("work", CONFIG_SCHED_WORKPRIORITY,
CONFIG_SCHED_WORKSTACKSIZE,
(main_t)work_thread, (const char **)NULL);
-#endif
ASSERT(g_worker != ERROR);
+#endif
/* Once the operating system has been initialized, the system must be
* started by spawning the user init thread of execution.