@ -28,10 +28,7 @@
#include <GCS_MAVLink.h>
#include <config.h>
#include <Parameters.h>
#if 0
#include <AP_Declination.h>
#endif
static Parameters g;
@ -28,9 +28,8 @@ AP_Baro_BMP085_HIL barometer;
AP_Compass_HIL compass;
static float rad_diff(float rad1, float rad2)
{
@ -25,10 +25,7 @@ AP_Baro_BMP085_HIL barometer;
#if AUTOMATIC_DECLINATION == ENABLED
// this is in an #if to avoid the static data
#include <AP_Declination.h> // ArduPilot Mega Declination Helper Library
// standard rotation matrices (these are the originals from the old code)