diff --git a/ArduPlane/RC_Channel.cpp b/ArduPlane/RC_Channel.cpp index a2d5041cef..9e9f88c7d0 100644 --- a/ArduPlane/RC_Channel.cpp +++ b/ArduPlane/RC_Channel.cpp @@ -27,6 +27,11 @@ bool RC_Channels_Plane::has_valid_input() const return true; } +RC_Channel * RC_Channels_Plane::get_arming_channel(void) const +{ + return plane.channel_rudder; +} + void RC_Channel_Plane::do_aux_function_change_mode(const Mode::Number number, const aux_switch_pos_t ch_flag) { diff --git a/ArduPlane/RC_Channel.h b/ArduPlane/RC_Channel.h index a1344caa61..d7fd045696 100644 --- a/ArduPlane/RC_Channel.h +++ b/ArduPlane/RC_Channel.h @@ -33,6 +33,8 @@ public: bool has_valid_input() const override; + RC_Channel *get_arming_channel(void) const override; + protected: // note that these callbacks are not presently used on Plane: