Plane: fixed is_flying_vtol() for non-quadplane

This commit is contained in:
Andrew Tridgell 2016-07-27 07:43:16 +10:00
parent a159eedd8c
commit 388b7ad6bd

View File

@ -661,6 +661,9 @@ bool QuadPlane::should_relax(void)
// see if we are flying in vtol
bool QuadPlane::is_flying_vtol(void)
{
if (!available()) {
return false;
}
if (motors->get_throttle() > 0.01f) {
// if we are demanding more than 1% throttle then don't consider aircraft landed
return true;