AP_NavEKF3: correct structure used for logging

XKF4 and XKF5 are clones of NKF4 and NKF5, which is why this worked
This commit is contained in:
Peter Barker 2021-12-03 10:55:33 +11:00 committed by Randy Mackay
parent ec6ea03b80
commit 308f4e99b4
1 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ void NavEKF3_core::Log_Write_XKF4(uint64_t time_us) const
float tempVar = fmaxF(fmaxF(magVar.x,magVar.y),magVar.z);
getFilterFaults(_faultStatus);
getFilterStatus(solutionStatus);
const struct log_NKF4 pkt4{
const struct log_XKF4 pkt4{
LOG_PACKET_HEADER_INIT(LOG_XKF4_MSG),
time_us : time_us,
core : DAL_CORE(core_index),
@ -182,7 +182,7 @@ void NavEKF3_core::Log_Write_XKF5(uint64_t time_us) const
return;
}
const struct log_NKF5 pkt5{
const struct log_XKF5 pkt5{
LOG_PACKET_HEADER_INIT(LOG_XKF5_MSG),
time_us : time_us,
core : DAL_CORE(core_index),