commit | ec55314d280284589ff1d37834d41724094f1047 | [log] [tgz] |
---|---|---|
author | Peter Bigot <peter.bigot@nordicsemi.no> | Mon May 18 09:21:36 2020 -0500 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue May 19 17:19:02 2020 +0200 |
tree | bb79ad25fc0450dfb4c59d38eff17aebb43d48cf | |
parent | 4ec5ab2059be2545a75df39651d393a4e47596e3 [diff] |
drivers: timer: nrf_rtc: fix TICKLESS=n processing 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: Peter Bigot <peter.bigot@nordicsemi.no>