AP_NavEKF2: use set_enable() to set enable flag

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

View File

@ -319,7 +319,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; }