Fix compile error when workqueue disabled
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2233 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
e0b373d549
commit
9dac4f29d4
|
@ -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