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

This commit is contained in:
wanghaijing 2021-02-22 10:11:42 +08:00
parent 88d3bb7da5
commit b39a7c4822
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ int rt_wqueue_wait(rt_wqueue_t *queue, int condition, int msec)
level = rt_hw_interrupt_disable();
__exit_wakeup:
queue->flag = 0;
queue->flag = RT_WQ_FLAG_CLEAN;
rt_hw_interrupt_enable(level);
rt_wqueue_remove(&__wait);