From eca675c556e6bfc9abd01c6f5092350d075f79e4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 4 May 2015 16:16:38 +1000 Subject: [PATCH] AP_Math: fix for HAL_SITL rename --- libraries/AP_Math/AP_Math.cpp | 2 +- libraries/AP_Math/examples/eulers/eulers.pde | 2 +- libraries/AP_Math/examples/location/location.pde | 2 +- libraries/AP_Math/examples/rotations/rotations.pde | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/AP_Math/AP_Math.cpp b/libraries/AP_Math/AP_Math.cpp index c7c90f9c44..45ef926359 100644 --- a/libraries/AP_Math/AP_Math.cpp +++ b/libraries/AP_Math/AP_Math.cpp @@ -39,7 +39,7 @@ float fast_atan(float v) return (v*(1.6867629106f + v2*0.4378497304f)/(1.6867633134f + v2)); } -#if HAL_CPU_CLASS < HAL_CPU_CLASS_75 || CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL +#if HAL_CPU_CLASS < HAL_CPU_CLASS_75 || CONFIG_HAL_BOARD == HAL_BOARD_SITL #define FAST_ATAN2_PIBY2_FLOAT 1.5707963f // fast_atan2 - faster version of atan2 // 126 us on AVR cpu vs 199 for regular atan2 diff --git a/libraries/AP_Math/examples/eulers/eulers.pde b/libraries/AP_Math/examples/eulers/eulers.pde index cee435ac5d..47575ef8b1 100644 --- a/libraries/AP_Math/examples/eulers/eulers.pde +++ b/libraries/AP_Math/examples/eulers/eulers.pde @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/libraries/AP_Math/examples/location/location.pde b/libraries/AP_Math/examples/location/location.pde index 09c4211fd6..0f763ccbec 100644 --- a/libraries/AP_Math/examples/location/location.pde +++ b/libraries/AP_Math/examples/location/location.pde @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include #include diff --git a/libraries/AP_Math/examples/rotations/rotations.pde b/libraries/AP_Math/examples/rotations/rotations.pde index cfd070f4c7..b6141b5ffd 100644 --- a/libraries/AP_Math/examples/rotations/rotations.pde +++ b/libraries/AP_Math/examples/rotations/rotations.pde @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include #include