diff --git a/libraries/AP_HAL_ChibiOS/AnalogIn.cpp b/libraries/AP_HAL_ChibiOS/AnalogIn.cpp index c62f91c874..b991b2b7e9 100644 --- a/libraries/AP_HAL_ChibiOS/AnalogIn.cpp +++ b/libraries/AP_HAL_ChibiOS/AnalogIn.cpp @@ -29,11 +29,6 @@ extern AP_IOMCU iomcu; #include "hwdef/common/stm32_util.h" -#ifndef CHIBIOS_ADC_MAVLINK_DEBUG -// this allows the first 6 analog channels to be reported by mavlink for debugging purposes -#define CHIBIOS_ADC_MAVLINK_DEBUG 0 -#endif - // MAVLink is included as we send a mavlink message as part of debug, // and also use the MAV_POWER flags below in update_power_flags #include diff --git a/libraries/AP_HAL_ChibiOS/hwdef/skyviper-f412-rev1/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/skyviper-f412-rev1/hwdef.dat index b4050dd62b..b333d85f09 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/skyviper-f412-rev1/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/skyviper-f412-rev1/hwdef.dat @@ -126,8 +126,6 @@ define ARMING_DELAY_SEC 0 define LAND_START_ALT 700 define LAND_DETECTOR_ACCEL_MAX 2.0f -define CHIBIOS_ADC_MAVLINK_DEBUG 1 - COMPASS BMM150 I2C:0:0x10 false ROTATION_NONE define HAL_BARO_DEFAULT HAL_BARO_20789_I2C_SPI diff --git a/libraries/AP_HAL_ChibiOS/hwdef/skyviper-journey/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/skyviper-journey/hwdef.dat index 05eff41dbd..f65056e970 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/skyviper-journey/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/skyviper-journey/hwdef.dat @@ -117,8 +117,6 @@ define LAND_START_ALT 700 define LAND_DETECTOR_ACCEL_MAX 2.0f define ALLOW_ARM_NO_COMPASS -define CHIBIOS_ADC_MAVLINK_DEBUG 1 - COMPASS BMM150 I2C:0:0x10 false ROTATION_NONE define HAL_BARO_DEFAULT HAL_BARO_20789_I2C_I2C