diff --git a/Tools/VARTest/VARTest.pde b/Tools/VARTest/VARTest.pde index e8b07b862c2f80325d4bef550e20e05ff2fcea3e..dac394a010f2a14c3ed3bed1890822b45a7e3f00 100644 --- a/Tools/VARTest/VARTest.pde +++ b/Tools/VARTest/VARTest.pde @@ -28,10 +28,7 @@ #include <GCS_MAVLink.h> #include <config.h> #include <Parameters.h> - -#if 0 #include <AP_Declination.h> -#endif static Parameters g; diff --git a/libraries/AP_Math/examples/eulers/eulers.pde b/libraries/AP_Math/examples/eulers/eulers.pde index 1c7cb4825c5e4aaef19875dc340eee1acedf6abc..2bbf2369f9e0c4e054a58b858ef5b38959b0d5c4 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 <AP_Declination.h> -#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 2d27a1f8adeb0cf9b770aff736fd9b4db4d36532..23dc35f8628a9716305c06b4ec5ff51a306af4a8 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 <AP_Declination.h> // ArduPilot Mega Declination Helper Library -#endif // standard rotation matrices (these are the originals from the old code)