From be39e1f29764dd31a81249fda4cb52dc0b740b17 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Mon, 5 Apr 2021 12:44:44 +0100 Subject: [PATCH] AP_HAL_ChibiOS: correct current scale for BeastH7 and BeastF7 --- libraries/AP_HAL_ChibiOS/hwdef/BeastF7/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/BeastH7/hwdef.dat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/BeastF7/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/BeastF7/hwdef.dat index ae350fd7b7..154b6006c4 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/BeastF7/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/BeastF7/hwdef.dat @@ -66,7 +66,7 @@ PC2 BATT_CURRENT_SENS ADC1 SCALE(1) define HAL_BATT_VOLT_PIN 13 define HAL_BATT_CURR_PIN 12 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 PC5 RSSI_ADC ADC1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/BeastH7/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/BeastH7/hwdef.dat index f26a0a02bf..014695aa51 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/BeastH7/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/BeastH7/hwdef.dat @@ -67,7 +67,7 @@ PC2 BATT_CURRENT_SENS ADC1 SCALE(1) define HAL_BATT_VOLT_PIN 13 define HAL_BATT_CURR_PIN 12 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 PC5 RSSI_ADC ADC1