mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
HAL_ChibiOS: change RCIN PULLUP to PULLDOWN
this makes us more consistent between boards
This commit is contained in:
parent
47da7f5c9b
commit
d962e094e7
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user