mirror of https://github.com/ArduPilot/ardupilot
Plane: rename rudder_arming to get_rudder_arming_type
This commit is contained in:
parent
5904393170
commit
1a83ff59bf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue