Skip to content

Commit e127bb2

Browse files
authored
Merge pull request #13374 from caoyuan96421/bugfix2
Fixed ThisThread flag_wait_any functions (fix #13360)
2 parents afcefd6 + 8a2428b commit e127bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rtos/source/ThisThread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ uint32_t ThisThread::flags_wait_any_for(uint32_t flags, uint32_t millisec, bool
200200

201201
uint32_t ThisThread::flags_wait_any_for(uint32_t flags, Clock::duration_u32 rel_time, bool clear)
202202
{
203-
return flags_wait_for(flags, rel_time, clear, osFlagsWaitAll);
203+
return flags_wait_for(flags, rel_time, clear, osFlagsWaitAny);
204204
}
205205

206206
uint32_t ThisThread::flags_wait_any_until(uint32_t flags, uint64_t millisec, bool clear)

0 commit comments

Comments
 (0)