Browse Source

AP_VideoTX: tidy includes

apm_2208
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
2ffc16d1c5
  1. 2
      libraries/AP_VideoTX/AP_VideoTX.cpp
  2. 2
      libraries/AP_VideoTX/AP_VideoTX.h

2
libraries/AP_VideoTX/AP_VideoTX.cpp

@ -17,6 +17,8 @@
#include <AP_RCTelemetry/AP_CRSF_Telem.h> #include <AP_RCTelemetry/AP_CRSF_Telem.h>
#include <GCS_MAVLink/GCS.h> #include <GCS_MAVLink/GCS.h>
#include <AP_HAL/AP_HAL.h>
extern const AP_HAL::HAL& hal; extern const AP_HAL::HAL& hal;
AP_VideoTX *AP_VideoTX::singleton; AP_VideoTX *AP_VideoTX::singleton;

2
libraries/AP_VideoTX/AP_VideoTX.h

@ -14,9 +14,7 @@
*/ */
#pragma once #pragma once
#include <AP_HAL/AP_HAL.h>
#include <AP_Param/AP_Param.h> #include <AP_Param/AP_Param.h>
#include <RC_Channel/RC_Channel.h>
#define VTX_MAX_CHANNELS 8 #define VTX_MAX_CHANNELS 8

Loading…
Cancel
Save