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:
parent
34f3b4406d
commit
22645cbfe4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user