Sorry, fix missed, related #590.
This commit is contained in:
parent
e63a458647
commit
63c51fbfc8
|
@ -1188,7 +1188,8 @@ rt_err_t rt_event_recv(rt_event_t event,
|
||||||
level = rt_hw_interrupt_disable();
|
level = rt_hw_interrupt_disable();
|
||||||
|
|
||||||
/* set received event */
|
/* set received event */
|
||||||
*recved = thread->event_set;
|
if (recved)
|
||||||
|
*recved = thread->event_set;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* enable interrupt */
|
/* enable interrupt */
|
||||||
|
|
Loading…
Reference in New Issue