From ce9352942f3b0852b63b9a784c00d4495a2e6dd2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 4 Jan 2019 17:57:36 +1100 Subject: [PATCH] Rover: allow mavlink when in sensor error --- APMrover2/GCS_Mavlink.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/APMrover2/GCS_Mavlink.cpp b/APMrover2/GCS_Mavlink.cpp index 735214eaa8..0b4bbf8f4f 100644 --- a/APMrover2/GCS_Mavlink.cpp +++ b/APMrover2/GCS_Mavlink.cpp @@ -313,6 +313,7 @@ bool GCS_MAVLINK_Rover::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() && rover.scheduler.time_available_usec() < 200) { gcs().set_out_of_time(true); return false;