From 56dcad3cc2b2cda576fab088232cdaa85aad07f9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 9 Aug 2023 10:45:57 +1000 Subject: [PATCH] Plane: dummy AP_ExternalControl implementation --- ArduPlane/Plane.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ArduPlane/Plane.h b/ArduPlane/Plane.h index 84c18d207c..5369536a43 100644 --- a/ArduPlane/Plane.h +++ b/ArduPlane/Plane.h @@ -83,6 +83,10 @@ #include #include // Landing Gear library #include +#include +#if AP_EXTERNAL_CONTROL_ENABLED +#include +#endif #include "GCS_Mavlink.h" #include "GCS_Plane.h" @@ -770,6 +774,11 @@ private: AP_Param param_loader {var_info}; + // dummy implementation of external control +#if AP_EXTERNAL_CONTROL_ENABLED + AP_ExternalControl external_control; +#endif + static const AP_Scheduler::Task scheduler_tasks[]; static const AP_Param::Info var_info[];