From 36c80daa868d0033f321cd17f226dc1289ee26d1 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 12 Sep 2017 11:28:43 -0700 Subject: [PATCH] ArduPlane: do not include version.h/ap_version.h The interface provided by each vehicle should be used to get the version. --- ArduPlane/GCS_Mavlink.cpp | 1 - ArduPlane/Log.cpp | 1 - ArduPlane/system.cpp | 1 - 3 files changed, 3 deletions(-) diff --git a/ArduPlane/GCS_Mavlink.cpp b/ArduPlane/GCS_Mavlink.cpp index 21a9555e28..27ae89ee92 100644 --- a/ArduPlane/GCS_Mavlink.cpp +++ b/ArduPlane/GCS_Mavlink.cpp @@ -1,7 +1,6 @@ #include "GCS_Mavlink.h" #include "Plane.h" -#include "version.h" void Plane::send_heartbeat(mavlink_channel_t chan) { diff --git a/ArduPlane/Log.cpp b/ArduPlane/Log.cpp index a881e6227c..c55c2b247e 100644 --- a/ArduPlane/Log.cpp +++ b/ArduPlane/Log.cpp @@ -1,5 +1,4 @@ #include "Plane.h" -#include "version.h" #if LOGGING_ENABLED == ENABLED diff --git a/ArduPlane/system.cpp b/ArduPlane/system.cpp index d0b29e6fac..093b358aa3 100644 --- a/ArduPlane/system.cpp +++ b/ArduPlane/system.cpp @@ -1,5 +1,4 @@ #include "Plane.h" -#include "version.h" /***************************************************************************** * The init_ardupilot function processes everything we need for an in - air restart