From 43750d6f7797f695dddfbc5f233b94bbeb401af3 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Sat, 10 Mar 2018 23:21:02 -0800 Subject: [PATCH] AP_SmartRTL: use ins singleton --- libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp b/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp index 9959fc953d..634fda8282 100644 --- a/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp +++ b/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp @@ -23,7 +23,7 @@ public: RangeFinder rangefinder{serial_manager, ROTATION_PITCH_270}; NavEKF2 EKF2{&ahrs, rangefinder}; NavEKF3 EKF3{&ahrs, rangefinder}; - AP_AHRS_NavEKF ahrs{ins, EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF}; + AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF}; }; static DummyVehicle vehicle;