mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AC_AutoTune: fixed testing of gains with aux switch
this fixes the use of an aux switch for autotune to test gains before disarm. Many thanks to Mark Whitehorn for noticing this regression
This commit is contained in:
parent
f35cebcca4
commit
a885f86ce7
@ -190,8 +190,6 @@ bool AC_AutoTune::init_internals(bool _use_poshold,
|
||||
// stop - should be called when the ch7/ch8 switch is switched OFF
|
||||
void AC_AutoTune::stop()
|
||||
{
|
||||
axes_completed = 0;
|
||||
|
||||
// set gains to their original values
|
||||
load_gains(GAIN_ORIGINAL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user