ArduCopter: optional (CHUTE_OPTIONS:1) disarm defore parachute release

This commit is contained in:
Andrii Fil 2024-04-09 09:17:14 +10:00 committed by Peter Barker
parent ed6ddf725d
commit 6ae12729da

View File

@ -269,7 +269,6 @@ void Copter::parachute_check()
}
if (parachute.release_initiated()) {
copter.arming.disarm(AP_Arming::Method::PARACHUTE_RELEASE);
return;
}
@ -331,9 +330,6 @@ void Copter::parachute_check()
// parachute_release - trigger the release of the parachute, disarm the motors and notify the user
void Copter::parachute_release()
{
// disarm motors
arming.disarm(AP_Arming::Method::PARACHUTE_RELEASE);
// release parachute
parachute.release();