From 97e54f6359cc4c9db344ed3ec0ca7ceb873d17fc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 4 Jan 2019 17:57:30 +1100 Subject: [PATCH] Plane: allow mavlink when in sensor error --- ArduPlane/GCS_Mavlink.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ArduPlane/GCS_Mavlink.cpp b/ArduPlane/GCS_Mavlink.cpp index 8ee2decb1f..373ebf3789 100644 --- a/ArduPlane/GCS_Mavlink.cpp +++ b/ArduPlane/GCS_Mavlink.cpp @@ -427,6 +427,7 @@ bool GCS_MAVLINK_Plane::try_send_message(enum ap_message id) // wants to fire then don't send a mavlink message. We want to // prioritise the main flight control loop over communications if (!hal.scheduler->in_delay_callback() && + !AP_BoardConfig::in_sensor_config_error() && plane.scheduler.time_available_usec() < 200) { gcs().set_out_of_time(true); return false;