From 1cc4b92b76da6f3f41a980f6775ade8431264a17 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 8 Jan 2018 13:09:31 +1100 Subject: [PATCH] HAL_ChibiOS: added additional FMUv3 analog pins --- libraries/AP_HAL_ChibiOS/AnalogIn.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/AnalogIn.cpp b/libraries/AP_HAL_ChibiOS/AnalogIn.cpp index 3a4d0c992e..70c659780a 100644 --- a/libraries/AP_HAL_ChibiOS/AnalogIn.cpp +++ b/libraries/AP_HAL_ChibiOS/AnalogIn.cpp @@ -61,6 +61,9 @@ static const struct { // scaled from battery voltage { 3, 3.3f/4096 }, // 3DR Brick current, usually 17:1 scaled // for APM_PER_VOLT + { 13, 3.3f/4096 }, // AUX ADC pin 4 + { 14, 3.3f/4096 }, // AUX ADC pin 3 + { 15, 6.6f/4096 }, // analog airspeed sensor, 2:1 scaling }; using namespace ChibiOS;