Question
Issue with creating event flag in ThreadX
When I call the tx_event_flags_create() function, the code returns an error at the following line:
else if (event_control_block_size != (sizeof(TX_EVENT_FLAGS_GROUP)))
{
/* Event flags group pointer is invalid, return appropriate error code. */
status = TX_GROUP_ERROR;
}I'm not sure why this would be a problem since I only have one TX_EVENT_FLAGS_GROUP defined in my program as far as I can see and the size of the struct passed in should match. Is there anything I could possibly be missing here?
