mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-07-28 15:53:52 +02:00
event_wait_timed() was ignoring a timeout of 1000 ms. Presumably this is because pthread_cond_timedwait() only considers tv_nsec less than one second. Convert the timeout in miliseconds to second and nanosecond components to fix this. Co-authored-by: alfred gedeon <28123637+alfred2g@users.noreply.github.com>