mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
ArduCopter: optional (CHUTE_OPTIONS:1) disarm defore parachute release
This commit is contained in:
parent
ed6ddf725d
commit
6ae12729da
@ -269,7 +269,6 @@ void Copter::parachute_check()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (parachute.release_initiated()) {
|
if (parachute.release_initiated()) {
|
||||||
copter.arming.disarm(AP_Arming::Method::PARACHUTE_RELEASE);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -331,9 +330,6 @@ void Copter::parachute_check()
|
|||||||
// parachute_release - trigger the release of the parachute, disarm the motors and notify the user
|
// parachute_release - trigger the release of the parachute, disarm the motors and notify the user
|
||||||
void Copter::parachute_release()
|
void Copter::parachute_release()
|
||||||
{
|
{
|
||||||
// disarm motors
|
|
||||||
arming.disarm(AP_Arming::Method::PARACHUTE_RELEASE);
|
|
||||||
|
|
||||||
// release parachute
|
// release parachute
|
||||||
parachute.release();
|
parachute.release();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user