提交 b39a7c48 编写于 作者: whj123999's avatar whj123999

[fix] flag 的赋值使用宏的方式

上级 88d3bb7d
...@@ -121,7 +121,7 @@ int rt_wqueue_wait(rt_wqueue_t *queue, int condition, int msec) ...@@ -121,7 +121,7 @@ int rt_wqueue_wait(rt_wqueue_t *queue, int condition, int msec)
level = rt_hw_interrupt_disable(); level = rt_hw_interrupt_disable();
__exit_wakeup: __exit_wakeup:
queue->flag = 0; queue->flag = RT_WQ_FLAG_CLEAN;
rt_hw_interrupt_enable(level); rt_hw_interrupt_enable(level);
rt_wqueue_remove(&__wait); rt_wqueue_remove(&__wait);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册