diff options
| author | guozhanxin <[email protected]> | 2022-01-26 16:02:24 +0800 |
|---|---|---|
| committer | guozhanxin <[email protected]> | 2022-01-26 16:03:31 +0800 |
| commit | 9b44535740b7e1deda584e8c7397b40113fa43f0 (patch) | |
| tree | 7f318dcfbf7a8f01da544e909653a5601e4d13a6 /components/drivers/ipc/waitqueue.c | |
| parent | e665bacf89c5901244cd43e195a7ae039b3c0463 (diff) | |
add RT_DEBUG_SCHEDULER_AVAILABLE check
Diffstat (limited to 'components/drivers/ipc/waitqueue.c')
| -rw-r--r-- | components/drivers/ipc/waitqueue.c | 2 |
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); |
