mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Logger: use AP_AHRS_ENABLED define
This commit is contained in:
parent
edb0a9b7fe
commit
023316b269
@ -763,7 +763,7 @@ void AP_Logger_File::PrepForArming_start_logging()
|
||||
if (logging_started()) {
|
||||
break;
|
||||
}
|
||||
#if !APM_BUILD_TYPE(APM_BUILD_Replay) && !defined(HAL_BUILD_AP_PERIPH) && !APM_BUILD_TYPE(APM_BUILD_UNKNOWN)
|
||||
#if !APM_BUILD_TYPE(APM_BUILD_Replay) && AP_AHRS_ENABLED
|
||||
// keep the EKF ticking over
|
||||
AP::ahrs().update();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user