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

drivers: timer: nrf_rtc_timer: avoid starving clock announcements



When setting a timeout measure the number of accumulated unannounced
ticks.  If this value exceeds half the 24-bit cycle counter range
force an announcement so the unannounced cycles are incorporated into
the system tick counter.

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