Skip to content
Commit 3594f136 authored by Peter Bigot's avatar Peter Bigot Committed by David Leach
Browse files

drivers: systick: avoid starving clock announcements



When setting a timeout measure the number of accumulated unannounced
ticks.  If this value exceeds half the 32-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 b3574bda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment