diff --git a/libraries/AP_HAL_ChibiOS/hwdef/speedybeef4v3/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/speedybeef4v3/hwdef.dat index 16826a92d1..e5a5dca8a7 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/speedybeef4v3/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/speedybeef4v3/hwdef.dat @@ -50,19 +50,19 @@ PB10 I2C2_SCL I2C2 PB11 I2C2_SDA I2C2 # analog pins -PC2 BATT_VOLTAGE_SENS ADC1 SCALE(1) +PC0 BATT_VOLTAGE_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 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_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 -define BOARD_RSSI_ANA_PIN 10 +define BOARD_RSSI_ANA_PIN 12 # USART1 (DJI / VTX) PA9 USART1_TX USART1