commit | 7be27b5169ff89874384eb40bbc6bca515199281 | [log] [tgz] |
---|---|---|
author | Francois Ramu <francois.ramu@st.com> | Tue May 19 08:52:33 2020 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri May 29 14:13:05 2020 +0200 |
tree | 134bf689f39b27b524fe858287680b8a67f2b76e | |
parent | 29ea09ee525152e0047651008ad08e1c929ecffd [diff] |
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: Francois Ramu <francois.ramu@st.com>