drivers: timer: SysTick: rework late overflow check
The previous solution depended on a magic number and was inefficient
(entered the second-wrap conditional even when a second wrap hadn't
been observed). Replace with an algorithm that is deterministic.
Signed-off-by:
Peter Bigot <peter.bigot@nordicsemi.no>
Loading
Please sign in to comment