ArduPlane: corrections to returning to the previous mode if fence was disabled while under action

This commit is contained in:
James O'Shannessy 2021-03-04 00:59:02 +11:00 committed by Peter Barker
parent 26811ad46d
commit 560943d6e0

View File

@ -28,6 +28,7 @@ void Plane::fence_check()
// No returning to a previous mode, unless our action allows it
break;
}
return;
}
// we still don't do anything when disarmed, but we do check for fence breaches.