From f19eddad745f8345235430fc37677d9bf85a0e28 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 27 Nov 2024 11:22:13 +1100 Subject: [PATCH] AP_NavEKF3: apply -O2 to AP_NavEKFx.h the core.h file adjusts the optimisation level; use it when including the AP_NavEKFx.h header file --- libraries/AP_NavEKF3/AP_NavEKF3.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_NavEKF3/AP_NavEKF3.cpp b/libraries/AP_NavEKF3/AP_NavEKF3.cpp index 7e8dfadb0e..57b837d9e4 100644 --- a/libraries/AP_NavEKF3/AP_NavEKF3.cpp +++ b/libraries/AP_NavEKF3/AP_NavEKF3.cpp @@ -1,8 +1,9 @@ +#include "AP_NavEKF3_core.h" + #include "AP_NavEKF3.h" #include -#include "AP_NavEKF3_core.h" #include #include #include