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

Merge pull request #3494 from greed-island/event

Update ipc.c
......@@ -1186,6 +1186,11 @@ rt_err_t rt_event_recv(rt_event_t event,
{
/* no waiting */
thread->error = -RT_ETIMEOUT;
/* enable interrupt */
rt_hw_interrupt_enable(level);
return -RT_ETIMEOUT;
}
else
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册