hwdef: AP_BATTERY_ESC_ENABLED needs HAL_WITH_ESC_TELEM

This commit is contained in:
Peter Barker 2023-11-08 10:05:23 +11:00 committed by Andrew Tridgell
parent 2d9346e85a
commit d2a3fed4a1

View File

@ -61,7 +61,7 @@ define AP_BEACON_ENABLED 0
# restricted battery backends:
define AP_BATTERY_BACKEND_DEFAULT_ENABLED 0
define AP_BATTERY_ANALOG_ENABLED 1
define AP_BATTERY_ESC_ENABLED 1
define AP_BATTERY_ESC_ENABLED HAL_WITH_ESC_TELEM
define AP_BATTERY_UAVCAN_BATTERYINFO_ENABLED HAL_ENABLE_DRONECAN_DRIVERS
define AP_BATTERY_SUM_ENABLED 1
define AP_BATTERY_SYNTHETIC_CURRENT_ENABLED 1