提交 689f3161 编写于 作者: B Bluebear233 提交者: GitHub

Update components.c

修正断言错误
上级 0d43ebff
......@@ -207,7 +207,7 @@ void rt_application_init(void)
tid = &main_thread;
result = rt_thread_init(tid, "main", main_thread_entry, RT_NULL,
main_stack, sizeof(main_stack), RT_THREAD_PRIORITY_MAX / 3, 20);
RT_ASSERT(result != RT_ERROR);
RT_ASSERT(result == RT_EOK);
#endif
rt_thread_startup(tid);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册