diff --git a/libraries/AP_NavEKF3/AP_NavEKF3_core.cpp b/libraries/AP_NavEKF3/AP_NavEKF3_core.cpp index 7d5e685afa..51a0ac21b4 100644 --- a/libraries/AP_NavEKF3/AP_NavEKF3_core.cpp +++ b/libraries/AP_NavEKF3/AP_NavEKF3_core.cpp @@ -9,8 +9,8 @@ // constructor NavEKF3_core::NavEKF3_core(NavEKF3 *_frontend, AP_DAL &_dal) : - frontend(_frontend), dal(_dal), + frontend(_frontend), public_origin(frontend->common_EKF_origin) { firstInitTime_ms = 0;