AP_HAL_ChibiOS: correct current scale for BeastH7 and BeastF7

This commit is contained in:
Andy Piper 2021-04-05 12:44:44 +01:00 committed by Andrew Tridgell
parent aa0ec0f091
commit be39e1f297
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ PC2 BATT_CURRENT_SENS ADC1 SCALE(1)
define HAL_BATT_VOLT_PIN 13 define HAL_BATT_VOLT_PIN 13
define HAL_BATT_CURR_PIN 12 define HAL_BATT_CURR_PIN 12
define HAL_BATT_VOLT_SCALE 10.9 define HAL_BATT_VOLT_SCALE 10.9
define HAL_BATT_CURR_SCALE 28.5 define HAL_BATT_CURR_SCALE 100
define HAL_BATT_MONITOR_DEFAULT 4 define HAL_BATT_MONITOR_DEFAULT 4
PC5 RSSI_ADC ADC1 PC5 RSSI_ADC ADC1

View File

@ -67,7 +67,7 @@ PC2 BATT_CURRENT_SENS ADC1 SCALE(1)
define HAL_BATT_VOLT_PIN 13 define HAL_BATT_VOLT_PIN 13
define HAL_BATT_CURR_PIN 12 define HAL_BATT_CURR_PIN 12
define HAL_BATT_VOLT_SCALE 10.9 define HAL_BATT_VOLT_SCALE 10.9
define HAL_BATT_CURR_SCALE 28.5 define HAL_BATT_CURR_SCALE 100
define HAL_BATT_MONITOR_DEFAULT 4 define HAL_BATT_MONITOR_DEFAULT 4
PC5 RSSI_ADC ADC1 PC5 RSSI_ADC ADC1