9
0
Fork 0

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:
patacongo 2009-11-06 01:07:32 +00:00
parent e0b373d549
commit 9dac4f29d4
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.