mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
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));
|
_framesPerPrediction = uint8_t((EKF_TARGET_DT / (_frameTimeUsec * 1.0e-6) + 0.5));
|
||||||
|
|
||||||
// see if we will be doing logging
|
// see if we will be doing logging
|
||||||
AP_Logger *dataflash = AP_Logger::get_singleton();
|
AP_Logger *logger = AP_Logger::get_singleton();
|
||||||
if (dataflash != nullptr) {
|
if (logger != nullptr) {
|
||||||
logging.enabled = dataflash->log_replay();
|
logging.enabled = logger->log_replay();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (core == nullptr) {
|
if (core == nullptr) {
|
||||||
|
Loading…
Reference in New Issue
Block a user