fix:解决集成测试osEventFlagsGet传NULL时应该返回0

主干不存在该问题,已解决.

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

修改集成测试osEventFlagsGet传NULL时返回osFlagsErrorParameter,CMSIS-RTOS2返回值为0

Close #I48FKQ

Signed-off-by: dong-yiqun <dongyiqun@huawei.com>
This commit is contained in:
dong-yiqun 2021-09-09 10:40:30 +08:00
parent 512f08fac6
commit 3fa1ff8431
1 changed files with 1 additions and 1 deletions

View File

@ -891,7 +891,7 @@ uint32_t osEventFlagsGet(osEventFlagsId_t ef_id)
uint32_t rflags;
if (pstEventCB == NULL) {
return (uint32_t)osFlagsErrorParameter;
return 0;
}
uwIntSave = LOS_IntLock();