#define LOS_ERRNO_EVENT_FLAGS_INVALID   LOS_ERRNO_OS_ERROR(LOS_MOD_EVENT, 0x04)

Event reading error code: The uwFlags input parameter value used in the event reading API is invalid.

This input parameter value is obtained by performing an OR operation on corresponding bits of either OS_EVENT_ANY or OS_EVENT_ANY and corresponding bits of either OS_EVENT_WAIT or OS_EVENT_NOWAIT. The waiting time must be set to a nonzero value when an event is read in the mode of OS_EVENT_WAIT.

Value: 0x02001c04

Solution: Pass in a valid uwFlags value.

在文件los_event.h117行定义。