Copter: allow disarm in autotune mode

This commit is contained in:
Jonathan Challinger 2014-07-06 02:29:11 -07:00 committed by Randy Mackay
parent 5b36e65cb9
commit ff1f54b390
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ static void arm_motors_check()
}
// 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;
}