Skip to content
Commit 7be27b51 authored by Francois Ramu's avatar Francois Ramu Committed by Carles Cufi
Browse files

drivers: timer: stm32_lptim fix TICKLESS=n processing



based on PR#25412
Some kernel tests use `CONFIG_TICKLESS_KERNEL=n` with
`CONFIG_SYS_CLOCK_TICKS_PER_SEC=1` to detect when a test runs longer
than 1 second.  These tests break if a tick is announced every time a
timeout occurs.  Only announce if the measured duration since the last
tick is at least the duration of a tick.

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
parent 29ea09ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment