HAL_ChibiOS: change RCIN PULLUP to PULLDOWN

this makes us more consistent between boards
This commit is contained in:
Andrew Tridgell 2021-10-11 08:31:01 +11:00
parent 47da7f5c9b
commit d962e094e7
8 changed files with 8 additions and 8 deletions

View File

@ -180,7 +180,7 @@ PH9 TIM12_CH2 TIM12 PWM(14) GPIO(63) NODMA
PE5 TIM15_CH1 TIM15 GPIO(77) ALARM
# RC input
PB4 TIM3_CH1 TIM3 RCININT PULLUP LOW
PB4 TIM3_CH1 TIM3 RCININT PULLDOWN LOW
# analog in
PA0 BATT_VOLTAGE_SENS ADC1 SCALE(1)

View File

@ -183,7 +183,7 @@ PH9 TIM12_CH2 TIM12 PWM(14) GPIO(63) NODMA
PE5 TIM15_CH1 TIM15 GPIO(77) ALARM
# RC input
PB4 TIM3_CH1 TIM3 RCININT PULLUP LOW
PB4 TIM3_CH1 TIM3 RCININT PULLDOWN LOW
# analog in
PA0 BATT_VOLTAGE_SENS ADC1 SCALE(1)

View File

@ -39,7 +39,7 @@ PB11 TIM2_CH4 TIM2 PWM(11) GPIO(60)
# RCInput on the PPM pin, for all protocols
undef PG9
undef USART6_RX
PI5 TIM8_CH1 TIM8 RCININT PULLUP LOW
PI5 TIM8_CH1 TIM8 RCININT PULLDOWN LOW
# setup for supplied power brick
undef HAL_BATT_VOLT_SCALE

View File

@ -131,7 +131,7 @@ PD15 TIM4_CH4 TIM4 PWM(11) GPIO(60)
PD14 TIM4_CH3 TIM4 PWM(12) GPIO(61)
# also USART6_RX for serial RC
PC7 TIM8_CH2 TIM8 RCIN PULLUP LOW DMA_CH0
PC7 TIM8_CH2 TIM8 RCIN PULLDOWN LOW DMA_CH0
# LED setup is similar to PixRacer
define HAL_HAVE_PIXRACER_LED

View File

@ -33,7 +33,7 @@ PB3 TIM2_CH2 TIM2 PWM(10) GPIO(59)
PB11 TIM2_CH4 TIM2 PWM(11) GPIO(60)
# RCInput on the PPM pin, for all protocols
PI5 TIM8_CH1 TIM8 RCININT PULLUP LOW
PI5 TIM8_CH1 TIM8 RCININT PULLDOWN LOW
# setup for supplied power brick
undef HAL_BATT_VOLT_SCALE

View File

@ -169,7 +169,7 @@ define RELAY3_PIN_DEFAULT 3
define RELAY4_PIN_DEFAULT 4
# also USART6_RX for serial RC
PC7 TIM8_CH2 TIM8 RCININT PULLUP LOW
PC7 TIM8_CH2 TIM8 RCININT PULLDOWN LOW
# LED setup is similar to PixRacer
define HAL_HAVE_PIXRACER_LED

View File

@ -21,7 +21,7 @@ undef UART8_RX
undef AP_FEATURE_SBUS_OUT
# RCInput on the PPM pin, for all protocols
PI5 TIM8_CH1 TIM8 RCININT PULLUP LOW
PI5 TIM8_CH1 TIM8 RCININT PULLDOWN LOW
# setup for supplied power brick
undef HAL_BATT_VOLT_SCALE

View File

@ -45,7 +45,7 @@ PB11 TIM2_CH4 TIM2 PWM(11) GPIO(60)
# RCInput on the PPM pin, for all protocols
undef PG9
undef USART6_RX
PI5 TIM8_CH1 TIM8 RCININT PULLUP LOW
PI5 TIM8_CH1 TIM8 RCININT PULLDOWN LOW
# setup for supplied power brick
undef HAL_BATT_VOLT_SCALE