fix osEventFlagsGet for #I3IP98

This commit is contained in:
Caoruihong
2021-04-16 14:48:32 +08:00
committed by Gitee
parent a09d38a983
commit a5338840c0

View File

@@ -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();