From 1bbf0a564034765a59b88cd6a41554fc42a93d02 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Sat, 14 Dec 2024 15:14:40 +0000 Subject: [PATCH] AC_AttitudeControl: optimize attitude control --- libraries/AC_AttitudeControl/AC_AttitudeControl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AC_AttitudeControl/AC_AttitudeControl.cpp b/libraries/AC_AttitudeControl/AC_AttitudeControl.cpp index fbfa3305be080..acb835b5097c9 100644 --- a/libraries/AC_AttitudeControl/AC_AttitudeControl.cpp +++ b/libraries/AC_AttitudeControl/AC_AttitudeControl.cpp @@ -3,6 +3,8 @@ #include #include +#pragma GCC optimize("O2") + extern const AP_HAL::HAL& hal; #if APM_BUILD_TYPE(APM_BUILD_ArduPlane)