Skip to content
Commit 151d840f authored by Fabio Baltieri's avatar Fabio Baltieri
Browse files

driver: timer: stm32_lptim: only set LSE drive if supported



Not all platforms support setting the LSE driving capability, causing
the build to fail for platform such as the STM32L072 if compiled with
CONFIG_STM32_LPTIM_CLOCK_LSE=y.

Adding an #ifdef guard around the call to skip it if not defined in the
HAL.

Signed-off-by: default avatarFabio Baltieri <fabio.baltieri@gmail.com>
parent 6f108d7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment