Skip to content
Commit 46e402dd authored by Peter Bigot's avatar Peter Bigot Committed by Carles Cufi
Browse files

tests: timer_api: fix for inexact ms/tick conversions



When one millisecond is not an integral number of ticks measuring
durations between tick events will sometimes be less than expected to
correct for error that was accumulated between other events.  Allow
for that in the duration and period comparisons.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 6a79436f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment