diff --git a/libraries/AP_HAL_ChibiOS/AnalogIn.cpp b/libraries/AP_HAL_ChibiOS/AnalogIn.cpp index cfc7306d86..b995cc7292 100644 --- a/libraries/AP_HAL_ChibiOS/AnalogIn.cpp +++ b/libraries/AP_HAL_ChibiOS/AnalogIn.cpp @@ -30,12 +30,11 @@ extern AP_IOMCU iomcu; #include "hwdef/common/stm32_util.h" #ifndef CHIBIOS_ADC_MAVLINK_DEBUG +#include // this allows the first 6 analog channels to be reported by mavlink for debugging purposes #define CHIBIOS_ADC_MAVLINK_DEBUG 0 #endif -#include - #define ANLOGIN_DEBUGGING 0 // base voltage scaling for 12 bit 3.3V ADC