[example] replace RT_IPC_FLAG_FIFO with RT_IPC_FLAG_PRIO

This commit is contained in:
Meco Man
2021-07-18 12:52:04 +08:00
parent 6c5546cc9c
commit 98c72007d2
13 changed files with 15 additions and 15 deletions

View File

@@ -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,