From 9961e8c49d48fe9186d77c7d13c0a6149d069b2d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 31 Jan 2024 19:32:18 +1100 Subject: [PATCH] hwdef: remove bad hwdef lines these have no effect --- libraries/AP_HAL_ChibiOS/hwdef/HEEWING-F405/hwdef.dat | 3 --- .../AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/hwdef.dat | 8 -------- 2 files changed, 11 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/HEEWING-F405/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/HEEWING-F405/hwdef.dat index ea20a6af98..f3fee9ff6d 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/HEEWING-F405/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/HEEWING-F405/hwdef.dat @@ -160,9 +160,6 @@ define HAL_BATT_CURR_SCALE 26.7 define HAL_WITH_DSP FALSE define HAL_GYROFFT_ENABLED 0 -# --------------------- save flash ---------------------- -define AP_BATTMON_SMBUS_ENABLE 0 - include ../include/minimize_fpv_osd.inc include ../include/save_some_flash.inc diff --git a/libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/hwdef.dat index f6052add8b..f6842833c8 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/hwdef.dat @@ -171,14 +171,6 @@ define STM32_PWM_USE_ADVANCED TRUE define HAL_WITH_DSP FALSE -# save some flash - -# disable SMBUS and fuel battery monitors to save flash -define AP_BATTMON_SMBUS_ENABLE 0 -define AP_BATTMON_FUEL_ENABLE 0 -define AP_BATTMON_SYNTHETIC_CURRENT_ENABLED 0 -define HAL_BATTMON_INA2XX_ENABLED 0 - # disable parachute and sprayer to save flash define HAL_PARACHUTE_ENABLED 0 define HAL_SPRAYER_ENABLED 0