diff options
| author | Meco Man <[email protected]> | 2021-07-18 12:52:04 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-07-18 12:52:04 +0800 |
| commit | 98c72007d2f15f4e4314f7c820d2d58e625c0d5d (patch) | |
| tree | 37479e022047992ce3732e0e3d7670461222e8fc /examples/pm | |
| parent | 6c5546cc9c2103439dbe2e641f9f862868d2c9ab (diff) | |
[example] replace RT_IPC_FLAG_FIFO with RT_IPC_FLAG_PRIO
Diffstat (limited to 'examples/pm')
| -rw-r--r-- | examples/pm/wakeup_app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pm/wakeup_app.c b/examples/pm/wakeup_app.c index d287bf74ec..230d30ac4e 100644 --- a/examples/pm/wakeup_app.c +++ b/examples/pm/wakeup_app.c @@ -61,7 +61,7 @@ static int wakeup_app(void) { rt_thread_t tid; - wakeup_event = rt_event_create("wakup", RT_IPC_FLAG_FIFO); + wakeup_event = rt_event_create("wakup", RT_IPC_FLAG_PRIO); RT_ASSERT(wakeup_event != RT_NULL); tid = rt_thread_create("wakeup_app", wakeup_app_entry, RT_NULL, |
