diff --git a/ArduCopter/AP_ExternalControl_Copter.h b/ArduCopter/AP_ExternalControl_Copter.h index e9a879106e..e7601c5552 100644 --- a/ArduCopter/AP_ExternalControl_Copter.h +++ b/ArduCopter/AP_ExternalControl_Copter.h @@ -14,13 +14,13 @@ public: Velocity is in earth frame, NED [m/s]. Yaw is in earth frame, NED [rad/s]. */ - bool set_linear_velocity_and_yaw_rate(const Vector3f &linear_velocity, float yaw_rate_rads) override; + bool set_linear_velocity_and_yaw_rate(const Vector3f &linear_velocity, float yaw_rate_rads) override WARN_IF_UNUSED; private: /* Return true if Copter is ready to handle external control data. Currently checks mode and arm states. */ - bool ready_for_external_control(); + bool ready_for_external_control() WARN_IF_UNUSED; }; #endif // AP_EXTERNAL_CONTROL_ENABLED