Skip to content

Commit 8a2428b

Browse files
committed
Fixed ThisThread flag_wait_any functions
1 parent a6207ca commit 8a2428b

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)