Plane: rename rudder_arming to get_rudder_arming_type

This commit is contained in:
Randy Mackay 2018-09-11 13:48:24 +09:00 committed by Andrew Tridgell
parent 7a7533724a
commit d6a102234e

View File

@ -106,7 +106,7 @@ void Plane::init_rc_out_aux()
*/ */
void Plane::rudder_arm_disarm_check() void Plane::rudder_arm_disarm_check()
{ {
AP_Arming::ArmingRudder arming_rudder = arming.rudder_arming(); AP_Arming::ArmingRudder arming_rudder = arming.get_rudder_arming_type();
if (arming_rudder == AP_Arming::ARMING_RUDDER_DISABLED) { if (arming_rudder == AP_Arming::ARMING_RUDDER_DISABLED) {
//parameter disallows rudder arming/disabling //parameter disallows rudder arming/disabling