From c6ec6cb4280a46e927c18b74f6b7279d28a99a57 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 27 Nov 2024 11:22:13 +1100 Subject: [PATCH] AP_NavEKF2: 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_NavEKF2/AP_NavEKF2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_NavEKF2/AP_NavEKF2.cpp b/libraries/AP_NavEKF2/AP_NavEKF2.cpp index 98c8e58a6c..b58f2254db 100644 --- a/libraries/AP_NavEKF2/AP_NavEKF2.cpp +++ b/libraries/AP_NavEKF2/AP_NavEKF2.cpp @@ -1,7 +1,7 @@ -#include "AP_NavEKF2.h" - #include "AP_NavEKF2_core.h" +#include "AP_NavEKF2.h" + #include #include #include