From fb3b4a31512dc3373ccf316ac4faa65dcbf106e7 Mon Sep 17 00:00:00 2001 From: bresch Date: Tue, 4 Apr 2023 09:51:57 +0200 Subject: [PATCH] ekf2: remove duplicate buffer push of system flags --- src/modules/ekf2/EKF/estimator_interface.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/ekf2/EKF/estimator_interface.cpp b/src/modules/ekf2/EKF/estimator_interface.cpp index 5cd78ebf35..a5a0f0f6ff 100644 --- a/src/modules/ekf2/EKF/estimator_interface.cpp +++ b/src/modules/ekf2/EKF/estimator_interface.cpp @@ -459,8 +459,6 @@ void EstimatorInterface::setSystemFlagData(const systemFlagUpdate &system_flags) } } - _system_flag_buffer->push(system_flags); - const int64_t time_us = system_flags.time_us - static_cast(_dt_ekf_avg * 5e5f); // seconds to microseconds divided by 2