diff options
| author | Henson <[email protected]> | 2022-01-26 21:39:06 +0800 |
|---|---|---|
| committer | Henson <[email protected]> | 2022-01-26 21:39:06 +0800 |
| commit | 500d26c2570bb3d905e38aed05fd9c9b324a8f6e (patch) | |
| tree | 6b24159e6e081cfbe42963ee8f9a901538f90637 /components/drivers/ipc/waitqueue.c | |
| parent | 9b44535740b7e1deda584e8c7397b40113fa43f0 (diff) | |
optimize code
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 f65b34cdcf..7847c6dde2 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_SCHEDULER_AVAILABLE; + RT_DEBUG_SCHEDULER_AVAILABLE(RT_TRUE); tick = rt_tick_from_millisecond(msec); |
