Plane: Qacro: use new transition class

This commit is contained in:
Iampete1 2021-09-18 00:26:33 +01:00 committed by Andrew Tridgell
parent f25e5087c0
commit 23a413946b
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
bool ModeQAcro::_enter()
{
quadplane.throttle_wait = false;
quadplane.transition_state = QuadPlane::TRANSITION_DONE;
quadplane.transition->force_transistion_complete();
attitude_control->relax_attitude_controllers();
return true;
}