mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
AP_HAL_ChibiOS: correct include of mavlink header for analog debug
This commit is contained in:
parent
c6dade50c5
commit
ec991969c7
@ -30,11 +30,14 @@ extern AP_IOMCU iomcu;
|
||||
#include "hwdef/common/stm32_util.h"
|
||||
|
||||
#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
|
||||
#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 <GCS_MAVLink/GCS_MAVLink.h>
|
||||
|
||||
#define ANLOGIN_DEBUGGING 0
|
||||
|
||||
// base voltage scaling for 12 bit 3.3V ADC
|
||||
|
Loading…
Reference in New Issue
Block a user