mirror of https://github.com/ArduPilot/ardupilot
Copter: allow disarm in autotune mode
This commit is contained in:
parent
5b36e65cb9
commit
ff1f54b390
|
@ -24,7 +24,7 @@ static void arm_motors_check()
|
||||||
}
|
}
|
||||||
|
|
||||||
// allow arming/disarming in Loiter and AltHold if landed
|
// allow arming/disarming in Loiter and AltHold if landed
|
||||||
if (ap.land_complete && (control_mode == LOITER || control_mode == ALT_HOLD || control_mode == HYBRID)) {
|
if (ap.land_complete && (control_mode == LOITER || control_mode == ALT_HOLD || control_mode == HYBRID || control_mode == AUTOTUNE)) {
|
||||||
allow_arming = true;
|
allow_arming = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue