mirror of https://github.com/ArduPilot/ardupilot
AP_NavEKF3: use set_enable() to set enable flag
This commit is contained in:
parent
c9ffe8dcea
commit
7e010ef50a
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue