mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
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:
|
protected:
|
||||||
|
|
||||||
bool _enter() override;
|
bool _enter() override;
|
||||||
|
void _exit() override;
|
||||||
};
|
};
|
||||||
|
@ -11,3 +11,10 @@ void ModeQAutotune::update()
|
|||||||
plane.mode_qstabilize.update();
|
plane.mode_qstabilize.update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ModeQAutotune::_exit()
|
||||||
|
{
|
||||||
|
#if QAUTOTUNE_ENABLED
|
||||||
|
plane.quadplane.qautotune.stop();
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user