mirror of https://github.com/ArduPilot/ardupilot
AP_NavEKF2: rename dataflash to logger
This commit is contained in:
parent
9dc7e5342d
commit
8506ae9c32
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue