未验证 提交 ecfbfd7c 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #1029 from weety/dev

[kernel] Fixed module issue.
......@@ -185,6 +185,10 @@ static rt_err_t _rt_thread_init(struct rt_thread *thread,
0,
RT_TIMER_FLAG_ONE_SHOT);
#ifdef RT_USING_MODULE
thread->module_id = RT_NULL;
#endif
/* initialize signal */
#ifdef RT_USING_SIGNALS
thread->sig_mask = 0x00;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册