Copter: allow auto-disarm in autotune mode

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

View File

@ -103,7 +103,7 @@ static void auto_disarm_check()
}
// allow auto disarm in manual flight modes or Loiter/AltHold if we're landed
if(manual_flight_mode(control_mode) || (ap.land_complete && (control_mode == LOITER || control_mode == ALT_HOLD || control_mode == HYBRID))) {
if(manual_flight_mode(control_mode) || (ap.land_complete && (control_mode == LOITER || control_mode == ALT_HOLD || control_mode == HYBRID || control_mode == AUTOTUNE))) {
auto_disarming_counter++;
if(auto_disarming_counter >= AUTO_DISARMING_DELAY) {