From 1feec460c416eda027c8371fa497c0f2811dacbc Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Fri, 30 Apr 2021 21:36:52 -0700 Subject: [PATCH] AP_HAL_ChibiOS: enable BattMon MPPT PacketDigital to CubeOrange-periph --- libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat index ba898f2fc3..8d2bf621e6 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat @@ -19,6 +19,8 @@ define PERIPH_FW TRUE define HAL_BUILD_AP_PERIPH +define HAL_PERIPH_ENABLE_BATTERY +define HAL_PERIPH_ENABLE_BATTERY_MPPT_PACKETDIGITAL define HAL_PERIPH_ENABLE_GPS define HAL_PERIPH_ENABLE_MAG define HAL_PERIPH_ENABLE_BARO @@ -46,8 +48,6 @@ define HAL_NO_RCIN_THREAD define HAL_BARO_ALLOW_INIT_NO_BARO -define HAL_PERIPH_ENABLE_BATTERY - define HAL_CAN_DEFAULT_NODE_ID 0 define CAN_APP_NODE_NAME "org.ardupilot.CubeOrange-periph"