diff options
| author | chen zx <[email protected]> | 2021-08-06 17:05:50 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-06 17:05:50 +0800 |
| commit | b104bbc4f9d978209e898a6dfced53248e27e3d7 (patch) | |
| tree | c6852a2c6500e7d7e2902d8a63eac4e1774ae50a /examples/pm | |
| parent | eb29bb5318b2d4b0a3ff48ed906b72c074bcc17d (diff) | |
| parent | 054f6db3e651cb6e7340913e969f5656626b9e9a (diff) | |
Merge branch 'RT-Thread:master' into master
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, |
