AP_NavEKF3: use set_enable() to set enable flag

This commit is contained in:
Andrew Tridgell 2020-04-19 08:35:19 +10:00
parent c9ffe8dcea
commit 7e010ef50a
1 changed files with 1 additions and 1 deletions

View File

@ -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; }