mirror of https://github.com/ArduPilot/ardupilot
AP_NavEKF2: allow compilation with HAL_LOGGING_ENABLED false
This commit is contained in:
parent
a6db3bd069
commit
3a76ce3162
|
@ -1,3 +1,7 @@
|
||||||
|
#include <AP_Logger/AP_Logger_config.h>
|
||||||
|
|
||||||
|
#if HAL_LOGGING_ENABLED
|
||||||
|
|
||||||
#include "AP_NavEKF2.h"
|
#include "AP_NavEKF2.h"
|
||||||
#include "AP_NavEKF2_core.h"
|
#include "AP_NavEKF2_core.h"
|
||||||
|
|
||||||
|
@ -331,3 +335,5 @@ void NavEKF2_core::Log_Write_GSF(uint64_t time_us) const
|
||||||
}
|
}
|
||||||
yawEstimator->Log_Write(time_us, LOG_NKY0_MSG, LOG_NKY1_MSG, DAL_CORE(core_index));
|
yawEstimator->Log_Write(time_us, LOG_NKY0_MSG, LOG_NKY1_MSG, DAL_CORE(core_index));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // HAL_LOGGING_ENABLED
|
||||||
|
|
Loading…
Reference in New Issue