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:
parent
3e6561c3cf
commit
c8dc9e39ac
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user