提交 bd2d62a1 编写于 作者: B Bernard Xiong

[DeviceDriver] Fix the flag clean issue in completion IPC.

上级 8cd254b0
......@@ -95,10 +95,10 @@ rt_err_t rt_completion_wait(struct rt_completion *completion,
result = thread->error;
level = rt_hw_interrupt_disable();
/* clean completed flag */
completion->flag = RT_UNCOMPLETED;
}
}
/* clean completed flag */
completion->flag = RT_UNCOMPLETED;
__exit:
rt_hw_interrupt_enable(level);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册