[RTduino][stm32l476-nucleo] correct D9 pwm3 channel number

This commit is contained in:
Meco Man 2023-04-09 19:11:22 -04:00 committed by Man, Jianting (Meco)
parent 9fdb710f87
commit 0e5ee77c39
1 changed files with 4 additions and 4 deletions

View File

@ -27,8 +27,8 @@ menu "Onboard Peripheral Drivers"
select BSP_USING_PWM2_CH2 select BSP_USING_PWM2_CH2
select BSP_USING_PWM2_CH3 select BSP_USING_PWM2_CH3
select BSP_USING_PWM3 select BSP_USING_PWM3
select BSP_USING_PWM3_CH0
select BSP_USING_PWM3_CH1 select BSP_USING_PWM3_CH1
select BSP_USING_PWM3_CH2
select BSP_USING_PWM4 select BSP_USING_PWM4
select BSP_USING_PWM4_CH1 select BSP_USING_PWM4_CH1
select BSP_USING_PWM17 select BSP_USING_PWM17
@ -210,12 +210,12 @@ menu "On-chip Peripheral Drivers"
bool "Enable timer3 output PWM" bool "Enable timer3 output PWM"
default n default n
if BSP_USING_PWM3 if BSP_USING_PWM3
config BSP_USING_PWM3_CH0
bool "Enable PWM3 channel0"
default n
config BSP_USING_PWM3_CH1 config BSP_USING_PWM3_CH1
bool "Enable PWM3 channel1" bool "Enable PWM3 channel1"
default n default n
config BSP_USING_PWM3_CH2
bool "Enable PWM3 channel2"
default n
endif endif
menuconfig BSP_USING_PWM4 menuconfig BSP_USING_PWM4