Sorry, fix missed, related #590.

This commit is contained in:
pathletboy 2015-11-23 16:10:49 +08:00
parent e63a458647
commit 63c51fbfc8
1 changed files with 2 additions and 1 deletions

View File

@ -1188,7 +1188,8 @@ rt_err_t rt_event_recv(rt_event_t event,
level = rt_hw_interrupt_disable();
/* set received event */
*recved = thread->event_set;
if (recved)
*recved = thread->event_set;
}
/* enable interrupt */