Merge pull request #13374 from caoyuan96421/bugfix2

Fixed ThisThread flag_wait_any functions (fix #13360)
pull/13390/head
Martin Kojtal 2020-08-10 11:45:37 +01:00 committed by GitHub
commit e127bb245e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ uint32_t ThisThread::flags_wait_any_for(uint32_t flags, uint32_t millisec, bool
uint32_t ThisThread::flags_wait_any_for(uint32_t flags, Clock::duration_u32 rel_time, bool clear)
{
return flags_wait_for(flags, rel_time, clear, osFlagsWaitAll);
return flags_wait_for(flags, rel_time, clear, osFlagsWaitAny);
}
uint32_t ThisThread::flags_wait_any_until(uint32_t flags, uint64_t millisec, bool clear)