diff --git a/src/modules/ekf2/EKF/ekf_helper.cpp b/src/modules/ekf2/EKF/ekf_helper.cpp index 82518e2eef..c522304e38 100644 --- a/src/modules/ekf2/EKF/ekf_helper.cpp +++ b/src/modules/ekf2/EKF/ekf_helper.cpp @@ -1509,7 +1509,11 @@ void Ekf::stopGpsFusion() void Ekf::stopGpsPosFusion() { _control_status.flags.gps = false; - _control_status.flags.gps_hgt = false; + + if (_control_status.flags.gps_hgt) { + startBaroHgtFusion(); + } + _gps_pos_innov.setZero(); _gps_pos_innov_var.setZero(); _gps_pos_test_ratio.setZero();