From b6b0c2a489ce145a368302cb7b48ed440c67f694 Mon Sep 17 00:00:00 2001 From: Paul Riseborough Date: Sun, 5 Jan 2014 21:05:40 +1100 Subject: [PATCH] AP_NavEKF: fixed bug in flag reset for hgt fusion --- libraries/AP_NavEKF/AP_NavEKF.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_NavEKF/AP_NavEKF.cpp b/libraries/AP_NavEKF/AP_NavEKF.cpp index 10101c9e9a..9ff2bd94fd 100644 --- a/libraries/AP_NavEKF/AP_NavEKF.cpp +++ b/libraries/AP_NavEKF/AP_NavEKF.cpp @@ -274,6 +274,7 @@ void NavEKF::SelectVelPosFusion() { FuseVelPosNED(); newDataGps = false; + newDataHgt = false; posVelFuseStep = true; } else