]> begriffs open source - cmsis-freertos/commit
osEventFlagsWait: Fix flag comparison 34/head
authorDavid Ĺ afrata <syvotouf@users.noreply.github.com>
Mon, 17 Jun 2019 08:32:33 +0000 (10:32 +0200)
committerGitHub <noreply@github.com>
Mon, 17 Jun 2019 08:32:33 +0000 (10:32 +0200)
commit78de2a6322d2b0a00b0ea9ce827e98cbfb89e795
tree9de04fdce9687378c63ccf9cef088751e7fe2235
parent9f4f1fa62addbc657fb74d9b0b8b0935f34f322f
osEventFlagsWait: Fix flag comparison

Fixed group flags comparison, when waiting on all flags (osFlagsWaitAll)
Previous implementation invokes fail every time, when other flags (those, we don't wait for) are set
This fix only compares flags specified to wait for, as API docs suggests
CMSIS/RTOS2/FreeRTOS/Source/cmsis_os2.c