mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-20 14:55:18 +03:00
[RTH] Make forced RTH (failsafe) abort launch mode
This commit is contained in:
parent
bfc21db250
commit
c35cec49c3
1 changed files with 1 additions and 0 deletions
|
@ -3240,6 +3240,7 @@ float getEstimatedActualPosition(int axis)
|
||||||
*-----------------------------------------------------------*/
|
*-----------------------------------------------------------*/
|
||||||
void activateForcedRTH(void)
|
void activateForcedRTH(void)
|
||||||
{
|
{
|
||||||
|
abortFixedWingLaunch();
|
||||||
posControl.flags.forcedRTHActivated = true;
|
posControl.flags.forcedRTHActivated = true;
|
||||||
navProcessFSMEvents(selectNavEventFromBoxModeInput());
|
navProcessFSMEvents(selectNavEventFromBoxModeInput());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue