Plane: skip plane assignments in QACRO

This commit is contained in:
Mark Whitehorn 2019-03-11 16:39:51 -06:00 committed by Andrew Tridgell
parent abfeee3a3d
commit 6414f0e48e

View File

@ -1815,7 +1815,9 @@ void QuadPlane::control_run(void)
switch (plane.control_mode) {
case QACRO:
control_qacro();
break;
// QACRO uses only the multicopter controller
// so skip the Plane attitude control calls below
return;
case QSTABILIZE:
control_stabilize();
break;