From 03a4dda810371d575320da3524d2ee7a86e51ec8 Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Thu, 13 Jun 2019 15:55:42 -0700 Subject: [PATCH] AP_Mount: Remove unneeded dependency on AP_Airspeed, and bad example --- libraries/AP_Mount/SoloGimbalEKF.h | 1 - .../trivial_AP_Mount/trivial_AP_Mount.cpp | 39 ------------------- .../examples/trivial_AP_Mount/wscript | 7 ---- 3 files changed, 47 deletions(-) delete mode 100644 libraries/AP_Mount/examples/trivial_AP_Mount/trivial_AP_Mount.cpp delete mode 100644 libraries/AP_Mount/examples/trivial_AP_Mount/wscript diff --git a/libraries/AP_Mount/SoloGimbalEKF.h b/libraries/AP_Mount/SoloGimbalEKF.h index 477f2020e0..f5b9cb24bb 100644 --- a/libraries/AP_Mount/SoloGimbalEKF.h +++ b/libraries/AP_Mount/SoloGimbalEKF.h @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include diff --git a/libraries/AP_Mount/examples/trivial_AP_Mount/trivial_AP_Mount.cpp b/libraries/AP_Mount/examples/trivial_AP_Mount/trivial_AP_Mount.cpp deleted file mode 100644 index a051b195e0..0000000000 --- a/libraries/AP_Mount/examples/trivial_AP_Mount/trivial_AP_Mount.cpp +++ /dev/null @@ -1,39 +0,0 @@ - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -void setup(); -void loop(); - -const AP_HAL::HAL& hal = AP_HAL::get_HAL(); - -void setup () { - hal.console->printf("%s\n", "Unit test for AP_Mount. This sketch" - "has no functionality, it only tests build."); -} -void loop () {} - -AP_HAL_MAIN(); diff --git a/libraries/AP_Mount/examples/trivial_AP_Mount/wscript b/libraries/AP_Mount/examples/trivial_AP_Mount/wscript deleted file mode 100644 index 719ec151ba..0000000000 --- a/libraries/AP_Mount/examples/trivial_AP_Mount/wscript +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env python -# encoding: utf-8 - -def build(bld): - bld.ap_example( - use='ap', - )