From 2e571d64838f044410e2a68bf97cacaf74e4d127 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 cc5358dd18..8d3060d5e5 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotF427/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotF427/hwdef.dat @@ -198,7 +198,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 e992a954fb..f706f01625 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