mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
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:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user