diff --git a/ArduPlane/Plane.h b/ArduPlane/Plane.h index 76297ce92fd62d..43326cdd8388e5 100644 --- a/ArduPlane/Plane.h +++ b/ArduPlane/Plane.h @@ -1045,9 +1045,10 @@ class Plane : public AP_Vehicle { void update_flight_stage(); void set_flight_stage(AP_FixedWing::FlightStage fs); bool flight_option_enabled(FlightOptions flight_option) const; +#if AP_SCRIPTING_ENABLED bool set_desired_speed(float speed) override; bool set_guided_radius_and_direction(float radius, bool direction_is_ccw) override; - +#endif // navigation.cpp void loiter_angle_reset(void); void loiter_angle_update(void);