summaryrefslogtreecommitdiff
path: root/components/drivers/ipc/waitqueue.c
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2022-01-26 16:02:24 +0800
committerguozhanxin <[email protected]>2022-01-26 16:03:31 +0800
commit9b44535740b7e1deda584e8c7397b40113fa43f0 (patch)
tree7f318dcfbf7a8f01da544e909653a5601e4d13a6 /components/drivers/ipc/waitqueue.c
parente665bacf89c5901244cd43e195a7ae039b3c0463 (diff)
add RT_DEBUG_SCHEDULER_AVAILABLE check
Diffstat (limited to 'components/drivers/ipc/waitqueue.c')
-rw-r--r--components/drivers/ipc/waitqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/ipc/waitqueue.c b/components/drivers/ipc/waitqueue.c
index 6a26604617..f65b34cdcf 100644
--- a/components/drivers/ipc/waitqueue.c
+++ b/components/drivers/ipc/waitqueue.c
@@ -129,7 +129,7 @@ int rt_wqueue_wait(rt_wqueue_t *queue, int condition, int msec)
rt_base_t level;
/* current context checking */
- RT_DEBUG_NOT_IN_INTERRUPT;
+ RT_DEBUG_SCHEDULER_AVAILABLE;
tick = rt_tick_from_millisecond(msec);