diff --git a/Tools/VARTest/VARTest.pde b/Tools/VARTest/VARTest.pde index e8b07b862c..dac394a010 100644 --- a/Tools/VARTest/VARTest.pde +++ b/Tools/VARTest/VARTest.pde @@ -28,10 +28,7 @@ #include #include #include - -#if 0 #include -#endif static Parameters g; diff --git a/libraries/AP_Math/examples/eulers/eulers.pde b/libraries/AP_Math/examples/eulers/eulers.pde index 1c7cb4825c..2bbf2369f9 100644 --- a/libraries/AP_Math/examples/eulers/eulers.pde +++ b/libraries/AP_Math/examples/eulers/eulers.pde @@ -28,9 +28,8 @@ AP_Baro_BMP085_HIL barometer; AP_Compass_HIL compass; #endif -#if 0 #include -#endif + static float rad_diff(float rad1, float rad2) { diff --git a/libraries/AP_Math/examples/rotations/rotations.pde b/libraries/AP_Math/examples/rotations/rotations.pde index 2d27a1f8ad..23dc35f862 100644 --- a/libraries/AP_Math/examples/rotations/rotations.pde +++ b/libraries/AP_Math/examples/rotations/rotations.pde @@ -25,10 +25,7 @@ AP_Baro_BMP085_HIL barometer; AP_Compass_HIL compass; #endif -#if AUTOMATIC_DECLINATION == ENABLED -// this is in an #if to avoid the static data #include // ArduPilot Mega Declination Helper Library -#endif // standard rotation matrices (these are the originals from the old code)