From f3ceee5389ac67a317ff897c94eed275d5bf9edd Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Fri, 3 Jun 2016 14:12:04 -0700 Subject: [PATCH] Plane: use relative_ground_altitude --- ArduPlane/parachute.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/parachute.cpp b/ArduPlane/parachute.cpp index 7c84152614..2ec4e829f5 100644 --- a/ArduPlane/parachute.cpp +++ b/ArduPlane/parachute.cpp @@ -46,7 +46,7 @@ bool Plane::parachute_manual_release() return false; } - if (parachute.alt_min() != 0 && relative_ground_altitude() < parachute.alt_min()) { + if (parachute.alt_min() != 0 && relative_ground_altitude(false) < parachute.alt_min()) { gcs_send_text_fmt(MAV_SEVERITY_WARNING, "Parachute: Too low"); return false; }