Skip to content
Commit 55594306 authored by Alexandre Bourdiol's avatar Alexandre Bourdiol Committed by Carles Cufí
Browse files

driver: counter: counter_ll_stm32_rtc.c: Add 1 tick to alarm



Add +1 tick to alarm in order to compensate the partially started tick.
Alarm will expire between requested ticks and ticks+1.
In case only 1 tick is requested, it will avoid that +1 Tick event
occurs before alarm setting is finished.

Signed-off-by: default avatarAlexandre Bourdiol <alexandre.bourdiol@st.com>
parent dd516650
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment