diff --git a/libraries/AP_HAL_ChibiOS/hwdef/AEROFOX-H7/README.md b/libraries/AP_HAL_ChibiOS/hwdef/AEROFOX-H7/README.md index 7d408a911343bb..5f5b4dbc24b255 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/AEROFOX-H7/README.md +++ b/libraries/AP_HAL_ChibiOS/hwdef/AEROFOX-H7/README.md @@ -80,7 +80,7 @@ It is enabled by default and has the following parameters set by default:s - BATT_VOLT_PIN 19 - BATT_CURR_PIN 9 - BATT_VOLT_MULT 21 -- BATT_AMP_PERVL 60 +- BATT_AMP_PERVL 40 ### The power B is external PMU input An additional power monitor input is provided and can be enabled by setting: diff --git a/libraries/AP_HAL_ChibiOS/hwdef/AEROFOX-H7/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/AEROFOX-H7/hwdef.dat index 31d565854a80d2..ab1a8c0b5eb504 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/AEROFOX-H7/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/AEROFOX-H7/hwdef.dat @@ -224,9 +224,14 @@ DMA_NOSHARE SPI2* UART2* UART4* UART5* ENABLE_DFU_BOOT 1 -define HAL_BATT_MONITOR 4 -define HAL_BATT_VOLT_PIN 19 -define HAL_BATT_CURR_PIN 9 -define HAL_BATT_VOLT_SCALE 21 -define HAL_BATT_CURR_SCALE 90.9 -define HAL_CAN_P1_DRIVER 1 \ No newline at end of file +define HAL_BATT_MONITOR 4 +define HAL_BATT_VOLT_PIN 19 +define HAL_BATT_CURR_PIN 9 +define HAL_BATT_VOLT_SCALE 21 +define HAL_BATT_CURR_SCALE 40 + +define HAL_BATT2_MONITOR 4 +define HAL_BATT2_VOLT_PIN 10 +define HAL_BATT2_CURR_PIN 11 +define HAL_BATT2_VOLT_SCALE 34 +define HAL_BATT2_CURR_SCALE 40 \ No newline at end of file