Plane: don't failsafe when in RTL_AUTOLAND landing sequence

when in AUTO and already in the landing sequence then don't trigger a
failsafe
This commit is contained in:
Andrew Tridgell 2022-07-06 15:08:20 +10:00 committed by Peter Barker
parent 53eb0191b1
commit afb7b14703

View File

@ -12,6 +12,9 @@ bool Plane::failsafe_in_landing_sequence() const
return true;
}
#endif
if (mission.get_in_landing_sequence_flag()) {
return true;
}
return false;
}