Plane: rename rudder_arming to get_rudder_arming_type

This commit is contained in:
Randy Mackay 2018-09-11 13:48:24 +09:00
parent 5904393170
commit 1a83ff59bf
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ void Plane::init_rc_out_aux()
*/
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) {
//parameter disallows rudder arming/disabling