mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Math: change optimisation from -O3 to -O2
This commit is contained in:
parent
7c3df18ea3
commit
13a2367278
@ -16,7 +16,7 @@
|
|||||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma GCC optimize("O3")
|
#pragma GCC optimize("O2")
|
||||||
|
|
||||||
#include "AP_Math.h"
|
#include "AP_Math.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* N dimensional matrix operations
|
* N dimensional matrix operations
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma GCC optimize("O3")
|
#pragma GCC optimize("O2")
|
||||||
|
|
||||||
#include "matrixN.h"
|
#include "matrixN.h"
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#pragma GCC optimize("O3")
|
#pragma GCC optimize("O2")
|
||||||
|
|
||||||
#include <AP_HAL/AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#include "AP_Math.h"
|
#include "AP_Math.h"
|
||||||
|
|
||||||
#pragma GCC optimize("O3")
|
#pragma GCC optimize("O2")
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The point in polygon algorithm is based on:
|
* The point in polygon algorithm is based on:
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma GCC optimize("O3")
|
#pragma GCC optimize("O2")
|
||||||
|
|
||||||
#include "AP_Math.h"
|
#include "AP_Math.h"
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma GCC optimize("O3")
|
#pragma GCC optimize("O2")
|
||||||
|
|
||||||
#include "AP_Math.h"
|
#include "AP_Math.h"
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma GCC optimize("O3")
|
#pragma GCC optimize("O2")
|
||||||
|
|
||||||
#include "AP_Math.h"
|
#include "AP_Math.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user