Skip to content

Commit

Permalink
Copter: build fix for non-fast rate loop
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Jul 3, 2024
1 parent c9ee72d commit 71f3739
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ArduCopter/Attitude.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ void Copter::rate_controller_log_update()
#endif
}

#pragma GCC pop_options
#endif // AP_INERTIALSENSOR_RATE_LOOP_WINDOW_ENABLED

/*
Expand All @@ -337,8 +338,6 @@ void Copter::run_rate_controller_main()
}
}

#pragma GCC pop_options

/*************************************************************
* throttle control
****************************************************************/
Expand Down

0 comments on commit 71f3739

Please sign in to comment.