From 3a4095fc7f0d1f79e55b3634c7f398587785b441 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 16 Nov 2020 14:34:01 +1100 Subject: [PATCH] AP_NavEKF2: use common structure names --- libraries/AP_NavEKF2/AP_NavEKF2.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/libraries/AP_NavEKF2/AP_NavEKF2.cpp b/libraries/AP_NavEKF2/AP_NavEKF2.cpp index d06561315b..243141c336 100644 --- a/libraries/AP_NavEKF2/AP_NavEKF2.cpp +++ b/libraries/AP_NavEKF2/AP_NavEKF2.cpp @@ -831,7 +831,7 @@ void NavEKF2::UpdateFilter(void) */ void NavEKF2::checkLaneSwitch(void) { - AP::dal().log_event2(AP_DAL::Event2::checkLaneSwitch); + AP::dal().log_event2(AP_DAL::Event::checkLaneSwitch); const uint32_t now = AP::dal().millis(); if (lastLaneSwitch_ms != 0 && now - lastLaneSwitch_ms < 5000) { // don't switch twice in 5 seconds @@ -992,7 +992,7 @@ void NavEKF2::getTiltError(int8_t instance, float &ang) const // reset body axis gyro bias estimates void NavEKF2::resetGyroBias(void) { - AP::dal().log_event2(AP_DAL::Event2::resetGyroBias); + AP::dal().log_event2(AP_DAL::Event::resetGyroBias); if (core) { for (uint8_t i=0; i