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[];