diff --git a/src/ipc.c b/src/ipc.c index e545417f1..7f8f0668e 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -1140,7 +1140,7 @@ rt_err_t rt_event_recv(rt_event_t event, { /* set received event */ if (recved) - *recved = (event->set & set); + *recved = (event->set & set); /* received event */ if (option & RT_EVENT_FLAG_CLEAR)