Skip to content

Commit

Permalink
hwdef: remove bad hwdef lines
Browse files Browse the repository at this point in the history
these have no effect
  • Loading branch information
peterbarker committed Jan 31, 2024
1 parent 17c7a7d commit 31f2a49
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions libraries/AP_HAL_ChibiOS/hwdef/HEEWING-F405/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 0 additions & 8 deletions libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 31f2a49

Please sign in to comment.