Rover: rename rudder_arming to get_rudder_arming_type

This commit is contained in:
Randy Mackay 2018-09-11 13:48:53 +09:00 committed by Andrew Tridgell
parent 71334a18c5
commit 0665ac5229
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ void Rover::init_rc_out()
void Rover::rudder_arm_disarm_check()
{
// check if arming/disarm using rudder is allowed
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) {
return;
}