AP_NavEKF3: rename dataflash to logger

This commit is contained in:
Tom Pittenger 2019-02-11 00:33:48 -08:00 committed by Peter Barker
parent 8506ae9c32
commit 17ee20af3f
1 changed files with 3 additions and 3 deletions

View File

@ -634,9 +634,9 @@ bool NavEKF3::InitialiseFilter(void)
if (core == nullptr) {
// see if we will be doing logging
AP_Logger *dataflash = AP_Logger::get_singleton();
if (dataflash != nullptr) {
logging.enabled = dataflash->log_replay();
AP_Logger *logger = AP_Logger::get_singleton();
if (logger != nullptr) {
logging.enabled = logger->log_replay();
}
// don't run multiple filters for 1 IMU