From 81326a17db27b6dc7d2085cec536cbf42da08f77 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 21 Aug 2023 14:52:46 +1000 Subject: [PATCH] hwdef: qiotek: correct HAL_BATT_MONITOR_DEFAULT define name --- libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotF427/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotH743/hwdef.dat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotF427/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotF427/hwdef.dat index 64091a94ba..c12e1e8654 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotF427/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotF427/hwdef.dat @@ -196,7 +196,7 @@ PB1 BATT2_VOLTAGE_SENS ADC1 SCALE(2) PC4 VDD_5V_SENS ADC1 SCALE(2) PC5 FMU_SERVORAIL_VCC_SENS ADC1 SCALE(12) -define HAL_BATT_MONITOR 4 +define HAL_BATT_MONITOR_DEFAULT 4 define HAL_BATT_VOLT_PIN 13 define HAL_BATT_CURR_PIN 12 define HAL_BATT_VOLT_SCALE 20 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotH743/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotH743/hwdef.dat index e0a64a8b8b..250e4b5be1 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotH743/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotH743/hwdef.dat @@ -135,7 +135,7 @@ PC5 PRESSURE_SENS ADC1 SCALE(2) PB1 RSSI_IN ADC1 SCALE(2) # setup the parameter for the ADC power module -define HAL_BATT_MONITOR 4 +define HAL_BATT_MONITOR_DEFAULT 4 define HAL_BATT_VOLT_PIN 16 define HAL_BATT_CURR_PIN 17 define HAL_BATT_VOLT_SCALE 20.000