mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 15:05:07 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue