1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/stm32: adapt tim5 default config for stm32l5

This commit is contained in:
Alexandre Abadie 2020-09-28 17:01:11 +02:00
parent 34f3b4406d
commit 22645cbfe4
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -33,7 +33,7 @@ static const timer_conf_t timer_config[] = {
{
.dev = TIM5,
.max = 0xffffffff,
#if defined(CPU_FAM_STM32G4)
#if defined(CPU_FAM_STM32G4) || defined(CPU_FAM_STM32L5)
.rcc_mask = RCC_APB1ENR1_TIM5EN,
#else
.rcc_mask = RCC_APB1ENR_TIM5EN,