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:
patacongo 2009-11-06 01:07:32 +00:00
parent 00e7c5f8ac
commit 7f84a8bea1
1 changed files with 1 additions and 1 deletions

View File

@ -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.