mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: Only include MAVLink when using the MAVLink debugging
This commit is contained in:
parent
5000891a76
commit
95bca05322
|
@ -30,12 +30,11 @@ extern AP_IOMCU iomcu;
|
||||||
#include "hwdef/common/stm32_util.h"
|
#include "hwdef/common/stm32_util.h"
|
||||||
|
|
||||||
#ifndef CHIBIOS_ADC_MAVLINK_DEBUG
|
#ifndef CHIBIOS_ADC_MAVLINK_DEBUG
|
||||||
|
#include <GCS_MAVLink/GCS_MAVLink.h>
|
||||||
// this allows the first 6 analog channels to be reported by mavlink for debugging purposes
|
// this allows the first 6 analog channels to be reported by mavlink for debugging purposes
|
||||||
#define CHIBIOS_ADC_MAVLINK_DEBUG 0
|
#define CHIBIOS_ADC_MAVLINK_DEBUG 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <GCS_MAVLink/GCS_MAVLink.h>
|
|
||||||
|
|
||||||
#define ANLOGIN_DEBUGGING 0
|
#define ANLOGIN_DEBUGGING 0
|
||||||
|
|
||||||
// base voltage scaling for 12 bit 3.3V ADC
|
// base voltage scaling for 12 bit 3.3V ADC
|
||||||
|
|
Loading…
Reference in New Issue