From e800de88b6925cf734343029cae0b3157263c0e6 Mon Sep 17 00:00:00 2001 From: ChristophTobler Date: Fri, 23 Jun 2017 09:49:54 +0200 Subject: [PATCH] remove duplicate --- EKF/control.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/EKF/control.cpp b/EKF/control.cpp index 960a43f4b9..acc1feaddb 100644 --- a/EKF/control.cpp +++ b/EKF/control.cpp @@ -508,7 +508,6 @@ void Ekf::controlHeightSensorTimeouts() if (reset_to_gps) { // set height sensor health _baro_hgt_faulty = true; - _gps_hgt_faulty = false; // declare the GPS height healthy _gps_hgt_faulty = false;