From 7e010ef50ac53834d1bc7265eac559b092149ff0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 19 Apr 2020 08:35:19 +1000 Subject: [PATCH] AP_NavEKF3: use set_enable() to set enable flag --- libraries/AP_NavEKF3/AP_NavEKF3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_NavEKF3/AP_NavEKF3.h b/libraries/AP_NavEKF3/AP_NavEKF3.h index 16d7bf72bd..07ea548df1 100644 --- a/libraries/AP_NavEKF3/AP_NavEKF3.h +++ b/libraries/AP_NavEKF3/AP_NavEKF3.h @@ -365,7 +365,7 @@ public: void set_baro_alt_noise(float noise) { _baroAltNoise.set_and_save(noise); }; // allow the enable flag to be set by Replay - void set_enable(bool enable) { _enable.set(enable); } + void set_enable(bool enable) { _enable.set_enable(enable); } // are we doing sensor logging inside the EKF? bool have_ekf_logging(void) const { return logging.enabled && _logging_mask != 0; }