Closed albetaCOM closed 1 year ago
ST Internal Reference: 131718
We also modified this part in our code, but I think we did clearer code with less cyclomatic complexity:
if (options == osFlagsNoClear)
{
get_option = TX_OR;
}
else if (options == osFlagsWaitAny)
{
get_option = TX_OR_CLEAR;
}
else if (options == (osFlagsWaitAll | osFlagsNoClear) )
{
get_option = TX_AND;
}
else
{
get_option = TX_AND_CLEAR;
}
Hi @albetaCOM,
Thank you for your contribution. This issue has been fixed in the frame of version v1.2.0 of the STM32CubeU5. Please allow me then to close this thread.
With regards,
osEventFlagsWait with wait options osFlagsWaitAny (OR) and osFlagsWaitAll (AND)
IMPORTANT INFORMATION
Contributor License Agreement (CLA)