|
|
|
@ -266,7 +266,11 @@ void Copter::init_disarm_motors()
@@ -266,7 +266,11 @@ void Copter::init_disarm_motors()
|
|
|
|
|
|
|
|
|
|
#if AUTOTUNE_ENABLED == ENABLED |
|
|
|
|
// save auto tuned parameters
|
|
|
|
|
mode_autotune.save_tuning_gains(); |
|
|
|
|
if (control_mode == AUTOTUNE) {; |
|
|
|
|
mode_autotune.save_tuning_gains(); |
|
|
|
|
} else { |
|
|
|
|
mode_autotune.reset(); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
// we are not in the air
|
|
|
|
|