AP_HAL_ChibiOS:remove synth curr from bds with onbd current

This commit is contained in:
Henry Wurzburg 2022-11-26 10:35:31 -06:00 committed by Andrew Tridgell
parent e1f1f1ed1e
commit 40b318318d
6 changed files with 7 additions and 0 deletions

View File

@ -163,6 +163,7 @@ define HAL_BATT_CURR_SCALE 25
# minimal drivers to reduce flash usage
include ../include/minimal.inc
define AP_BATTMON_SYNTHETIC_CURRENT_ENABLED 0
# enable IMU fast sampling
define HAL_DEFAULT_INS_FAST_SAMPLE 1

View File

@ -191,3 +191,4 @@ define HAL_NMEA_OUTPUT_ENABLED 0
define HAL_BUTTON_ENABLED 0
define AP_NOTIFY_OREOLED_ENABLED 0
define HAL_PICCOLO_CAN_ENABLE 0
define AP_BATTMON_SYNTHETIC_CURRENT_ENABLED 0

View File

@ -197,6 +197,8 @@ define HAL_GYROFFT_ENABLED 0
include ../include/save_some_flash.inc
define HAL_BARO_WIND_COMP_ENABLED 0
define AP_GRIPPER_ENABLED 0
define AP_BATTMON_SYNTHETIC_CURRENT_ENABLED 0
# only include ublox GPS driver
include ../include/minimal_GPS.inc

View File

@ -161,6 +161,7 @@ define AP_PARAM_MAX_EMBEDDED_PARAM 1024
# save some flash
include ../include/save_some_flash.inc
define AP_BATTMON_SYNTHETIC_CURRENT_ENABLED 0
# only include ublox GPS driver
include ../include/minimal_GPS.inc

View File

@ -148,3 +148,4 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
# minimal drivers to reduce flash usage
include ../include/minimal.inc
define AP_BATTMON_SYNTHETIC_CURRENT_ENABLED 0

View File

@ -155,3 +155,4 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
# minimal drivers to reduce flash usage
include ../include/minimal.inc
define AP_BATTMON_SYNTHETIC_CURRENT_ENABLED 0