AP_RCTelemetry: include required AP_Vehicle_Type header

This commit is contained in:
Peter Barker 2022-10-28 12:38:07 +11:00 committed by Andrew Tridgell
parent 74459e3e4d
commit c3c6842e5a
2 changed files with 3 additions and 0 deletions

View File

@ -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)

View File

@ -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)