mirror of https://github.com/ArduPilot/ardupilot
AP_Generator: apply -Os to all cpp files
This commit is contained in:
parent
223d683441
commit
52291b622a
|
@ -13,6 +13,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma GCC optimize("Os")
|
||||||
|
|
||||||
#include "AP_Generator.h"
|
#include "AP_Generator.h"
|
||||||
|
|
||||||
#if HAL_GENERATOR_ENABLED
|
#if HAL_GENERATOR_ENABLED
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
#pragma GCC optimize("Os")
|
||||||
|
|
||||||
#include "AP_Generator_Backend.h"
|
#include "AP_Generator_Backend.h"
|
||||||
|
|
||||||
#if HAL_GENERATOR_ENABLED
|
#if HAL_GENERATOR_ENABLED
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma GCC optimize("Os")
|
||||||
|
|
||||||
#include "AP_Generator_IE_2400.h"
|
#include "AP_Generator_IE_2400.h"
|
||||||
|
|
||||||
#if AP_GENERATOR_IE_2400_ENABLED
|
#if AP_GENERATOR_IE_2400_ENABLED
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma GCC optimize("Os")
|
||||||
|
|
||||||
#include "AP_Generator_IE_650_800.h"
|
#include "AP_Generator_IE_650_800.h"
|
||||||
|
|
||||||
#if AP_GENERATOR_IE_650_800_ENABLED
|
#if AP_GENERATOR_IE_650_800_ENABLED
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma GCC optimize("Os")
|
||||||
|
|
||||||
#include "AP_Generator_IE_FuelCell.h"
|
#include "AP_Generator_IE_FuelCell.h"
|
||||||
|
|
||||||
#if AP_GENERATOR_IE_ENABLED
|
#if AP_GENERATOR_IE_ENABLED
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma GCC optimize("Os")
|
||||||
|
|
||||||
#include "AP_Generator_config.h"
|
#include "AP_Generator_config.h"
|
||||||
|
|
||||||
#if AP_GENERATOR_RICHENPOWER_ENABLED
|
#if AP_GENERATOR_RICHENPOWER_ENABLED
|
||||||
|
|
Loading…
Reference in New Issue