提交 cb92e845 编写于 作者: B bernard.xiong

change the priority level of shell task to 5 when the maximal priority level in system is 8.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@567 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 6d7e6d8f
......@@ -436,10 +436,19 @@ void finsh_system_init()
#endif
#endif
#if RT_THREAD_PRIORITY_MAX == 8
rt_thread_init(&finsh_thread,
"tshell",
finsh_thread_entry, RT_NULL,
&finsh_thread_stack[0], sizeof(finsh_thread_stack),
20, 100);
5, 10);
#else
rt_thread_init(&finsh_thread,
"tshell",
finsh_thread_entry, RT_NULL,
&finsh_thread_stack[0], sizeof(finsh_thread_stack),
20, 10);
#endif
rt_thread_startup(&finsh_thread);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册