|
|
|
@ -30,11 +30,14 @@ extern AP_IOMCU iomcu;
@@ -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
|
|
|
|
|