4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-21 00:27:19 +08:00

Update components.c

This commit is contained in:
Bluebear233 2017-01-01 20:23:27 +08:00 committed by GitHub
parent 6c1d60f987
commit 8d7686179c

View File

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