fix osEventFlagsGet for #I3IP98
This commit is contained in:
parent
a09d38a983
commit
a5338840c0
|
@ -895,7 +895,7 @@ uint32_t osEventFlagsGet(osEventFlagsId_t ef_id)
|
|||
uint32_t rflags;
|
||||
|
||||
if (pstEventCB == NULL) {
|
||||
return (uint32_t)osFlagsErrorParameter;
|
||||
return 0;
|
||||
}
|
||||
|
||||
uwIntSave = LOS_IntLock();
|
||||
|
|
Loading…
Reference in New Issue