Update components.c

修正断言错误
This commit is contained in:
Bluebear233 2017-01-02 19:43:55 +08:00 committed by GitHub
parent 8d7686179c
commit 0d43ebffe1
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ void rt_application_init(void)
tid = &main_thread; tid = &main_thread;
result = rt_thread_init(tid, "main", main_thread_entry, RT_NULL, result = rt_thread_init(tid, "main", main_thread_entry, RT_NULL,
main_stack, sizeof(main_stack), RT_THREAD_PRIORITY_MAX / 3, 20); main_stack, sizeof(main_stack), RT_THREAD_PRIORITY_MAX / 3, 20);
RT_ASSERT(result != RT_EOK); RT_ASSERT(result != RT_ERROR);
#endif #endif
rt_thread_startup(tid); rt_thread_startup(tid);