!71 【轻量级 PR】:fix osEventFlagsGet for #I3IP98

Merge pull request !71 from Caoruihong/N/A
This commit is contained in:
openharmony_ci 2021-04-16 15:30:17 +08:00 committed by Gitee
commit 530b738dec
1 changed files with 1 additions and 1 deletions

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