Skip to content
Commit e46aff59 authored by Johan Lafon's avatar Johan Lafon Committed by Fabio Baltieri
Browse files

drivers: rtc: stm32: avoid using LL_RTC_Init



LL_RTC_Init() internally uses LL_RTC_EnterInitMode() wich uses a blocking
while loop. This rewrite uses the less CPU time wasteful local
rtc_stm32_enter_initialization_mode() instead. As a side effect
LL_RTC_InitTypeDef in rtc_stm32_config is not needed anymore.

Signed-off-by: default avatarJohan Lafon <johan.lafon@syslinbit.com>
parent a4f5f87e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment