!71 【轻量级 PR】:fix osEventFlagsGet for #I3IP98
Merge pull request !71 from Caoruihong/N/A
This commit is contained in:
commit
530b738dec
|
@ -895,7 +895,7 @@ uint32_t osEventFlagsGet(osEventFlagsId_t ef_id)
|
||||||
uint32_t rflags;
|
uint32_t rflags;
|
||||||
|
|
||||||
if (pstEventCB == NULL) {
|
if (pstEventCB == NULL) {
|
||||||
return (uint32_t)osFlagsErrorParameter;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
uwIntSave = LOS_IntLock();
|
uwIntSave = LOS_IntLock();
|
||||||
|
|
Loading…
Reference in New Issue