fix osEventFlagsGet for #I3IP98
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user