1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-19 22:35:19 +03:00

[RTH] Make forced RTH (failsafe) abort launch mode

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2019-06-10 21:35:05 +02:00
parent bfc21db250
commit c35cec49c3

View file

@ -3240,6 +3240,7 @@ float getEstimatedActualPosition(int axis)
*-----------------------------------------------------------*/
void activateForcedRTH(void)
{
abortFixedWingLaunch();
posControl.flags.forcedRTHActivated = true;
navProcessFSMEvents(selectNavEventFromBoxModeInput());
}