Revert "AP_HAL_ChibiOS: correct voltage sensor and current scale on speedybeef4v3"

This reverts commit 9f9be8da0f.
This commit is contained in:
Andy Piper 2023-07-23 12:38:38 +02:00 committed by Andrew Tridgell
parent 9f9be8da0f
commit f93295017a

View File

@ -50,19 +50,19 @@ PB10 I2C2_SCL I2C2
PB11 I2C2_SDA I2C2 PB11 I2C2_SDA I2C2
# analog pins # analog pins
PC2 BATT_VOLTAGE_SENS ADC1 SCALE(1) PC0 BATT_VOLTAGE_SENS ADC1 SCALE(1)
PC1 BATT_CURRENT_SENS ADC1 SCALE(1) PC1 BATT_CURRENT_SENS ADC1 SCALE(1)
PC0 RSSI_ADC_PIN ADC1 SCALE(1) PC2 RSSI_ADC_PIN ADC1 SCALE(1)
# define default battery setup # define default battery setup
define HAL_BATT_MONITOR_DEFAULT 4 define HAL_BATT_MONITOR_DEFAULT 4
define HAL_BATT_VOLT_PIN 12 define HAL_BATT_VOLT_PIN 10
define HAL_BATT_CURR_PIN 11 define HAL_BATT_CURR_PIN 11
define HAL_BATT_VOLT_SCALE 11.2 # matched to ESC output define HAL_BATT_VOLT_SCALE 11.2 # matched to ESC output
define HAL_BATT_CURR_SCALE 173.5 # appropriate for a T-Motor F55A Pro II define HAL_BATT_CURR_SCALE 52.7 # appropriate for a T-Motor F55A Pro II
# analog rssi pin # analog rssi pin
define BOARD_RSSI_ANA_PIN 10 define BOARD_RSSI_ANA_PIN 12
# USART1 (DJI / VTX) # USART1 (DJI / VTX)
PA9 USART1_TX USART1 PA9 USART1_TX USART1