From 71f3739f109f3715d4eedef29651dbbd0480b9ae Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Wed, 3 Jul 2024 19:17:34 +0100 Subject: [PATCH] Copter: build fix for non-fast rate loop --- ArduCopter/Attitude.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ArduCopter/Attitude.cpp b/ArduCopter/Attitude.cpp index 0555fbdd1b7267..89a23d4cd44233 100644 --- a/ArduCopter/Attitude.cpp +++ b/ArduCopter/Attitude.cpp @@ -318,6 +318,7 @@ void Copter::rate_controller_log_update() #endif } +#pragma GCC pop_options #endif // AP_INERTIALSENSOR_RATE_LOOP_WINDOW_ENABLED /* @@ -337,8 +338,6 @@ void Copter::run_rate_controller_main() } } -#pragma GCC pop_options - /************************************************************* * throttle control ****************************************************************/