From d8fec32b9ac928aa865fab183db701a0eebc33b1 Mon Sep 17 00:00:00 2001 From: murata Date: Sun, 6 Mar 2022 21:54:00 +0900 Subject: [PATCH] hwdef: Maximum number of battery monitors is 1 --- libraries/AP_HAL_ChibiOS/hwdef/JHEMCU-GSF405A/hwdef.dat | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/JHEMCU-GSF405A/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/JHEMCU-GSF405A/hwdef.dat index b47ea2582a..7b98f93828 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/JHEMCU-GSF405A/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/JHEMCU-GSF405A/hwdef.dat @@ -157,6 +157,7 @@ define HAL_WITH_DSP FALSE # --------------------- save flash ---------------------- define AP_BATTMON_SMBUS_ENABLE 0 define AP_BATTMON_FUEL_ENABLE 0 +define AP_BATT_MONITOR_MAX_INSTANCES 1 define HAL_PARACHUTE_ENABLED 0 define HAL_SPRAYER_ENABLED 0 define HAL_GENERATOR_ENABLED 0