Skip to content
Commit 37e50a67 authored by Julien D'Ascenzio's avatar Julien D'Ascenzio Committed by Carles Cufi
Browse files

driver: timer: stm32_lptim: fix excess ticks



Some ticks are counted additionally when the autoreload
interrupts were too close together.
This patch improve the counts of the clock cycle.
lptim_fired worked badly in particular because the flag ARRM
was not raised when the interrupt was forced.

Signed-off-by: default avatarJulien D'Ascenzio <julien.dascenzio@paratronic.fr>
parent 01ff7ba6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment