From 4fc57b1aa8851570b1042ec1437c43dfbf01fdd2 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 16 Aug 2019 14:20:02 +1000 Subject: [PATCH] Rover: stop updating sensor status flags These are updated as required in the gcs library itself. --- APMrover2/Rover.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/APMrover2/Rover.cpp b/APMrover2/Rover.cpp index af742b127b..56a4315ca9 100644 --- a/APMrover2/Rover.cpp +++ b/APMrover2/Rover.cpp @@ -283,12 +283,6 @@ void Rover::one_second_loop(void) update_home(); } - // update error mask of sensors and subsystems. The mask uses the - // MAV_SYS_STATUS_* values from mavlink. If a bit is set then it - // indicates that the sensor or subsystem is present but not - // functioning correctly - gcs().update_sensor_status_flags(); - // need to set "likely flying" when armed to allow for compass // learning to run ahrs.set_likely_flying(hal.util->get_soft_armed());