AP_NavEKF2: rename dataflash to logger

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

View File

@ -610,9 +610,9 @@ bool NavEKF2::InitialiseFilter(void)
_framesPerPrediction = uint8_t((EKF_TARGET_DT / (_frameTimeUsec * 1.0e-6) + 0.5));
// 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();
}
if (core == nullptr) {