plane: Qautotune: move functions to ModeQAutotune

This commit is contained in:
Iampete1 2021-08-14 19:53:03 +01:00 committed by Andrew Tridgell
parent e293866245
commit a1fa683272
2 changed files with 7 additions and 7 deletions

View File

@ -11,6 +11,13 @@ void ModeQAutotune::update()
plane.mode_qstabilize.update();
}
void ModeQAutotune::run()
{
#if QAUTOTUNE_ENABLED
quadplane.qautotune.run();
#endif
}
void ModeQAutotune::_exit()
{
#if QAUTOTUNE_ENABLED

View File

@ -2250,13 +2250,6 @@ void ModeQLand::run()
plane.mode_qloiter.run();
}
void ModeQAutotune::run()
{
#if QAUTOTUNE_ENABLED
quadplane.qautotune.run();
#endif
}
/*
enter a quadplane mode
*/