Browse Source

Copter: only allow auto_trim in STABILIZE

mission-4.1.18
Randy Mackay 12 years ago
parent
commit
fe56ac3839
  1. 2
      ArduCopter/motors.pde

2
ArduCopter/motors.pde

@ -68,7 +68,7 @@ static void arm_motors_check() @@ -68,7 +68,7 @@ static void arm_motors_check()
}
// arm the motors and configure for flight
if (arming_counter == AUTO_TRIM_DELAY && motors.armed()) {
if (arming_counter == AUTO_TRIM_DELAY && motors.armed() && control_mode == STABILIZE) {
auto_trim_counter = 250;
}

Loading…
Cancel
Save