Skip to content
Snippets Groups Projects
Commit 7f84a8be authored by patacongo's avatar patacongo
Browse files

Fix compile error when workqueue disabled

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2233 42af7a65-404d-4744-a932-0658087f49c3
parent 00e7c5f8
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment