mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-22 01:05:20 +08:00
Merge pull request #692 from Bluebear233/Bluebear233-fix
[Kernel] Fix the assertion issue in components.c
This commit is contained in:
commit
370250afbe
@ -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_EOK);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
rt_thread_startup(tid);
|
rt_thread_startup(tid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user