AP_Logger: control PrepForArming in UNKNOWN builds
This commit is contained in:
parent
c1fbdd5972
commit
f9451e36f5
@ -745,7 +745,7 @@ void AP_Logger_File::PrepForArming_start_logging()
|
||||
if (logging_started()) {
|
||||
break;
|
||||
}
|
||||
#if !APM_BUILD_TYPE(APM_BUILD_Replay) && !defined(HAL_BUILD_AP_PERIPH)
|
||||
#if !APM_BUILD_TYPE(APM_BUILD_Replay) && !defined(HAL_BUILD_AP_PERIPH) && !APM_BUILD_TYPE(APM_BUILD_UNKNOWN)
|
||||
// keep the EKF ticking over
|
||||
AP::ahrs().update();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user