Skip to content
Commit 733bddb3 authored by Dawid Niedzwiecki's avatar Dawid Niedzwiecki Committed by Carles Cufí
Browse files

timer: cortex_m_systick: idle timer: handle no sleep case



SysTick usually has higher measurement resolution than the IDLE timer.
When the time in low power mode is very short or 0, it is possible that
SysTick usually has measures more time since the sys_clock_set_timeout
than the idle timer.

Handle that case to keep uptime correct.

Signed-off-by: default avatarDawid Niedzwiecki <dawidn@google.com>
parent 4104f549
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment