arch/arm: stm32l4: Fix typo in TIM15 PWM config

When configuring TIM15_CH2 as output, we mistakenly referred to TIM12 instead.
This commit is contained in:
Daniel Mesham 2020-09-23 13:09:23 +02:00 committed by Alin Jerpelea
parent 3e6561c3cf
commit c8dc9e39ac

View File

@ -1126,7 +1126,7 @@ static struct stm32l4_pwmchan_s g_pwm15channels[] =
{
.channel = 2,
.mode = CONFIG_STM32L4_TIM15_CH2MODE,
#ifdef CONFIG_STM32L4_TIM12_CH2OUT
#ifdef CONFIG_STM32L4_TIM15_CH2OUT
.out1 =
{
.in_use = 1,