From 749861f8ad8040f80dbb9ddebfbce838c9ec53c4 Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Thu, 31 May 2018 15:31:50 -0700 Subject: [PATCH] Plane: Only send healthy airspeed reports --- ArduPlane/GCS_Mavlink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/GCS_Mavlink.cpp b/ArduPlane/GCS_Mavlink.cpp index 3211c35bcc..005fca246e 100644 --- a/ArduPlane/GCS_Mavlink.cpp +++ b/ArduPlane/GCS_Mavlink.cpp @@ -243,7 +243,7 @@ float GCS_MAVLINK_Plane::vfr_hud_airspeed() const // will use an airspeed sensor, that value is constrained by the // ground speed. When reporting we should send the true airspeed // value if possible: - if (plane.airspeed.enabled()) { + if (plane.airspeed.enabled() && plane.airspeed.healthy()) { return plane.airspeed.get_airspeed(); }