commit | 34d2ca613f6d1d8205d0c0f106e3fb703d1b1802 | [log] [tgz] |
---|---|---|
author | Chen Peng1 <peng1.chen@intel.com> | Fri Aug 06 16:11:15 2021 +0800 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Thu Aug 12 17:30:03 2021 -0400 |
tree | ed598b21204cf95d75315fa88651a6e69f760431 | |
parent | 907b5d9e7fd0cb2779aaa5f1c5dc31f439bdc88e [diff] |
cmsis_rots_v1: fix for clearing signal flags in osSignalWait. we use flag 0 in osSignalWait function to wait for any single signal flag, but with this 0 flag, it won't clear thread signal results as expected, we need to check whether signal flag is 0 firstly. Signed-off-by: Chen Peng1 <peng1.chen@intel.com>