Skip to content

Commit

Permalink
hwdef: CarbonixF405: Add battery monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 committed Oct 15, 2024
1 parent b18ee95 commit 1fc7cbf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ define HAL_PERIPH_ENABLE_RANGEFINDER 1
define HAL_PERIPH_ENABLE_ESC_APD
define APD_ESC_INSTANCES 1

# enable battery monitor and fuel sensor
define HAL_PERIPH_ENABLE_BATTERY
define AP_BATTERY_FUELLEVEL_ANALOG_ENABLED 1
define AP_BATT_MONITOR_MAX_INSTANCES 1

# enable sending ESC ExtendedStatus
define AP_EXTENDED_ESC_TELEM_ENABLED 1

Expand Down

0 comments on commit 1fc7cbf

Please sign in to comment.