commit | 37e50a6775f017a318335df61aa81e3d43d215d3 | [log] [tgz] |
---|---|---|
author | Julien D'Ascenzio <julien.dascenzio@paratronic.fr> | Wed Jun 03 14:07:26 2020 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Jun 04 22:10:45 2020 +0200 |
tree | 7b48f788e23cc11ac53910e6176d2cb574c12557 | |
parent | 01ff7ba6e16c989dd7a2a7e16549063fad4ccade [diff] |
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: Julien D'Ascenzio <julien.dascenzio@paratronic.fr>