mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
AC_AutoTune: Disable variables that are overwritten
This commit is contained in:
parent
cf4acaa2aa
commit
49bb4d38a1
@ -157,8 +157,6 @@ bool AC_AutoTune::init_internals(bool _use_poshold,
|
||||
|
||||
switch (mode) {
|
||||
case FAILED:
|
||||
// autotune has been run but failed so reset state to uninitialized
|
||||
mode = UNINITIALISED;
|
||||
// fall through to restart the tuning
|
||||
FALLTHROUGH;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user