ardupilot/ArduPlane/mode_qautotune.cpp
Andrew Tridgell cd72657c94 Plane: fixed qautotune exit
this was lost in the onion changes
2019-05-02 06:59:12 +10:00

21 lines
285 B
C++

#include "mode.h"
#include "Plane.h"
bool ModeQAutotune::_enter()
{
return plane.mode_qstabilize._enter();
}
void ModeQAutotune::update()
{
plane.mode_qstabilize.update();
}
void ModeQAutotune::_exit()
{
#if QAUTOTUNE_ENABLED
plane.quadplane.qautotune.stop();
#endif
}