mirror of https://github.com/ArduPilot/ardupilot
AP_RCTelemetry: include required AP_Vehicle_Type header
This commit is contained in:
parent
74459e3e4d
commit
c3c6842e5a
|
@ -32,6 +32,8 @@
|
||||||
|
|
||||||
#if HAL_CRSF_TELEM_ENABLED
|
#if HAL_CRSF_TELEM_ENABLED
|
||||||
|
|
||||||
|
#include <AP_Vehicle/AP_Vehicle_Type.h>
|
||||||
|
|
||||||
//#define CRSF_DEBUG
|
//#define CRSF_DEBUG
|
||||||
#ifdef CRSF_DEBUG
|
#ifdef CRSF_DEBUG
|
||||||
# define debug(fmt, args...) hal.console->printf("CRSF: " fmt "\n", ##args)
|
# define debug(fmt, args...) hal.console->printf("CRSF: " fmt "\n", ##args)
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#include <GCS_MAVLink/GCS.h>
|
#include <GCS_MAVLink/GCS.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <AP_Vehicle/AP_Vehicle_Type.h>
|
||||||
|
|
||||||
#ifdef TELEM_DEBUG
|
#ifdef TELEM_DEBUG
|
||||||
# define debug(fmt, args...) hal.console->printf("Telem: " fmt "\n", ##args)
|
# define debug(fmt, args...) hal.console->printf("Telem: " fmt "\n", ##args)
|
||||||
|
|
Loading…
Reference in New Issue