mirror of https://github.com/ArduPilot/ardupilot
APM_Control: fixed restore of tconst on autotune abort
This commit is contained in:
parent
8f249d5ece
commit
20ef242280
|
@ -143,6 +143,7 @@ void AP_AutoTune::stop(void)
|
|||
if (running) {
|
||||
running = false;
|
||||
save_gains(restore);
|
||||
current = restore;
|
||||
rpid.set_slew_limit_scale(45);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue