mirror of https://github.com/ArduPilot/ardupilot
Plane: use relative_ground_altitude
This commit is contained in:
parent
b3f182157c
commit
f3ceee5389
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue