mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Plane: rename rudder_arming to get_rudder_arming_type
This commit is contained in:
parent
7a7533724a
commit
d6a102234e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user