From 11e47fb145ee3eff366840489cfcf9785d1d40e2 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 12 Sep 2017 11:28:43 -0700 Subject: [PATCH] ArduSub: do not include version.h/ap_version.h The interface provided by each vehicle should be used to get the version. --- ArduSub/GCS_Mavlink.cpp | 1 - ArduSub/Log.cpp | 1 - ArduSub/system.cpp | 1 - 3 files changed, 3 deletions(-) diff --git a/ArduSub/GCS_Mavlink.cpp b/ArduSub/GCS_Mavlink.cpp index 6dcda8749e..be5a434453 100644 --- a/ArduSub/GCS_Mavlink.cpp +++ b/ArduSub/GCS_Mavlink.cpp @@ -1,5 +1,4 @@ #include "Sub.h" -#include "version.h" #include "GCS_Mavlink.h" diff --git a/ArduSub/Log.cpp b/ArduSub/Log.cpp index 489f2bd281..6913fc9d2f 100644 --- a/ArduSub/Log.cpp +++ b/ArduSub/Log.cpp @@ -1,5 +1,4 @@ #include "Sub.h" -#include "version.h" #if LOGGING_ENABLED == ENABLED diff --git a/ArduSub/system.cpp b/ArduSub/system.cpp index 7b4cb6928b..6edaf28359 100644 --- a/ArduSub/system.cpp +++ b/ArduSub/system.cpp @@ -1,5 +1,4 @@ #include "Sub.h" -#include "version.h" /***************************************************************************** * The init_ardupilot function processes everything we need for an in - air restart