Fix compile error when workqueue disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2233 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
00e7c5f8ac
commit
7f84a8bea1
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue