mirror of https://github.com/ArduPilot/ardupilot
Plane: fixed qautotune exit
this was lost in the onion changes
This commit is contained in:
parent
3170327a9c
commit
cd72657c94
|
@ -447,4 +447,5 @@ public:
|
|||
protected:
|
||||
|
||||
bool _enter() override;
|
||||
void _exit() override;
|
||||
};
|
||||
|
|
|
@ -11,3 +11,10 @@ void ModeQAutotune::update()
|
|||
plane.mode_qstabilize.update();
|
||||
}
|
||||
|
||||
void ModeQAutotune::_exit()
|
||||
{
|
||||
#if QAUTOTUNE_ENABLED
|
||||
plane.quadplane.qautotune.stop();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue