mirror of https://github.com/ArduPilot/ardupilot
Plane: fixed chute release on low value of RC option
only release on flag high fixes #18843
This commit is contained in:
parent
34cab60fb6
commit
5a9c61b84c
|
@ -311,7 +311,9 @@ case AUX_FUNC::ARSPD_CALIBRATE:
|
||||||
|
|
||||||
case AUX_FUNC::PARACHUTE_RELEASE:
|
case AUX_FUNC::PARACHUTE_RELEASE:
|
||||||
#if PARACHUTE == ENABLED
|
#if PARACHUTE == ENABLED
|
||||||
plane.parachute_manual_release();
|
if (ch_flag == AuxSwitchPos::HIGH) {
|
||||||
|
plane.parachute_manual_release();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue