Merge pull request #691 from Bluebear233/Bluebear233-fix

[Kernel] fix the main_thread stack issue when not used heap.
This commit is contained in:
Bernard Xiong 2017-01-01 21:47:02 +08:00 committed by GitHub
commit 724c66b546
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,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,
2048, 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