a45ce52253
The test_timer_periodicity waits for first timer expiration in order to extract timer firing time. The wait is performed using k_timer_status_sync() API call, which blocks thread until timer expiration. However if the timer expired before call the this function, it will return immediately, triggering test failure. This commit adds the second call to the k_timer_status_sync() to ensure that the following part of the test will be executed as soon as possible after timer expiration. Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no> |
||
---|---|---|
.. | ||
timer_api | ||
timer_monotonic |