mirror of https://github.com/ArduPilot/ardupilot
Plane: move loiter,thermal out of auto fs group
This commit is contained in:
parent
e6c5382a28
commit
5b471c4c0e
|
@ -84,6 +84,8 @@ void Plane::failsafe_long_on_event(enum failsafe_state fstype, ModeReason reason
|
|||
case Mode::Number::CRUISE:
|
||||
case Mode::Number::TRAINING:
|
||||
case Mode::Number::CIRCLE:
|
||||
case Mode::Number::LOITER:
|
||||
case Mode::Number::THERMAL:
|
||||
if(g.fs_action_long == FS_ACTION_LONG_PARACHUTE) {
|
||||
#if PARACHUTE == ENABLED
|
||||
parachute_release();
|
||||
|
@ -110,8 +112,6 @@ void Plane::failsafe_long_on_event(enum failsafe_state fstype, ModeReason reason
|
|||
case Mode::Number::AUTO:
|
||||
case Mode::Number::AVOID_ADSB:
|
||||
case Mode::Number::GUIDED:
|
||||
case Mode::Number::LOITER:
|
||||
case Mode::Number::THERMAL:
|
||||
if(g.fs_action_long == FS_ACTION_LONG_PARACHUTE) {
|
||||
#if PARACHUTE == ENABLED
|
||||
parachute_release();
|
||||
|
|
Loading…
Reference in New Issue