Skip to content

Commit

Permalink
AP_Generator: apply -Os to all cpp files
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Nov 23, 2024
1 parent a4b27c6 commit 429ea9d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/AP_Generator/AP_Generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma GCC optimize("Os")

#include "AP_Generator.h"

#if HAL_GENERATOR_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions libraries/AP_Generator/AP_Generator_Backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma GCC optimize("Os")

#include "AP_Generator_Backend.h"

#if HAL_GENERATOR_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions libraries/AP_Generator/AP_Generator_IE_2400.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma GCC optimize("Os")

#include "AP_Generator_IE_2400.h"

#if AP_GENERATOR_IE_2400_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions libraries/AP_Generator/AP_Generator_IE_650_800.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma GCC optimize("Os")

#include "AP_Generator_IE_650_800.h"

#if AP_GENERATOR_IE_650_800_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions libraries/AP_Generator/AP_Generator_IE_FuelCell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma GCC optimize("Os")

#include "AP_Generator_IE_FuelCell.h"

#if AP_GENERATOR_IE_ENABLED
Expand Down
2 changes: 2 additions & 0 deletions libraries/AP_Generator/AP_Generator_RichenPower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma GCC optimize("Os")

#include "AP_Generator_config.h"

#if AP_GENERATOR_RICHENPOWER_ENABLED
Expand Down

0 comments on commit 429ea9d

Please sign in to comment.