From b87dd8980a6942b81c8f7b84aee1168ae07ca18d Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Thu, 23 Feb 2023 10:44:27 +0000 Subject: [PATCH] ChibioOS: hwdef: CUAV-X7: add note about incorrect ADC scale factor --- libraries/AP_HAL_ChibiOS/hwdef/CUAV-X7/hwdef.dat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CUAV-X7/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CUAV-X7/hwdef.dat index 250be29f6c..83f6999918 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CUAV-X7/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CUAV-X7/hwdef.dat @@ -191,6 +191,9 @@ PA1 BATT_CURRENT_SENS ADC1 SCALE(1) # ADC3.3/ADC6.6 PC4 SPARE1_ADC1 ADC1 SCALE(1) + +# Note that this should be SCALE(2), but we don't want to break existing setups +# See: https://github.com/ArduPilot/ardupilot/pull/22831 PA4 SPARE2_ADC1 ADC1 SCALE(1) PF12 RSSI_IN ADC1 SCALE(1)