Browse Source

AP_ADSB: move include of AHRS to .cpp

Not used in header, helps fix include loops
master
Peter Barker 6 years ago committed by Andrew Tridgell
parent
commit
90edc8b51a
  1. 1
      libraries/AP_ADSB/AP_ADSB.cpp
  2. 1
      libraries/AP_ADSB/AP_ADSB.h

1
libraries/AP_ADSB/AP_ADSB.cpp

@ -30,6 +30,7 @@ @@ -30,6 +30,7 @@
#include <AP_Logger/AP_Logger.h>
#include <AP_GPS/AP_GPS.h>
#include <AP_Baro/AP_Baro.h>
#include <AP_AHRS/AP_AHRS.h>
#define VEHICLE_TIMEOUT_MS 5000 // if no updates in this time, drop it from the list

1
libraries/AP_ADSB/AP_ADSB.h

@ -25,7 +25,6 @@ @@ -25,7 +25,6 @@
#include <AP_Param/AP_Param.h>
#include <AP_Common/Location.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#include <AP_AHRS/AP_AHRS.h>
#include <AP_Buffer/AP_Buffer.h>

Loading…
Cancel
Save