From c81d4fa07b6e0b771348c71f2a2f06968cd30cd1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 16 Nov 2015 07:59:18 +1100 Subject: [PATCH] AP_Declination: fixed example build --- .../examples/AP_Declination_test/AP_Declination_test.cpp | 1 + libraries/AP_Declination/examples/AP_Declination_test/Makefile | 3 --- libraries/AP_Declination/examples/AP_Declination_test/make.inc | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libraries/AP_Declination/examples/AP_Declination_test/AP_Declination_test.cpp b/libraries/AP_Declination/examples/AP_Declination_test/AP_Declination_test.cpp index e1f51afad6..9fc4089a65 100644 --- a/libraries/AP_Declination/examples/AP_Declination_test/AP_Declination_test.cpp +++ b/libraries/AP_Declination/examples/AP_Declination_test/AP_Declination_test.cpp @@ -1,5 +1,6 @@ /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- +#include #include #include #include diff --git a/libraries/AP_Declination/examples/AP_Declination_test/Makefile b/libraries/AP_Declination/examples/AP_Declination_test/Makefile index 9cc8742e84..f5daf25151 100644 --- a/libraries/AP_Declination/examples/AP_Declination_test/Makefile +++ b/libraries/AP_Declination/examples/AP_Declination_test/Makefile @@ -1,4 +1 @@ include ../../../../mk/apm.mk - -sitl: - make -f ../../../../libraries/Desktop/Desktop.mk diff --git a/libraries/AP_Declination/examples/AP_Declination_test/make.inc b/libraries/AP_Declination/examples/AP_Declination_test/make.inc index 2de7da6ef2..e12a370b8e 100644 --- a/libraries/AP_Declination/examples/AP_Declination_test/make.inc +++ b/libraries/AP_Declination/examples/AP_Declination_test/make.inc @@ -6,3 +6,4 @@ LIBRARIES += AP_Param LIBRARIES += AP_Progmem LIBRARIES += Filter LIBRARIES += StorageManager +LIBRARIES += AP_ADC