!296 集成测试osEventFlagsGet传NULL时应该返回0

Merge pull request !296 from 董逸群/OpenHarmony_1.0.1_release
This commit is contained in:
openharmony_ci 2021-09-09 06:42:38 +00:00 committed by Gitee
commit 275357fc54
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();