Browse Source

Copter: remove unused radius_of_earth constant

mission-4.1.18
Randy Mackay 12 years ago
parent
commit
ae2ad8e819
  1. 7
      ArduCopter/ArduCopter.pde

7
ArduCopter/ArduCopter.pde

@ -479,13 +479,6 @@ static float scaleLongUp = 1; @@ -479,13 +479,6 @@ static float scaleLongUp = 1;
// Sometimes we need to remove the scaling for distance calcs
static float scaleLongDown = 1;
////////////////////////////////////////////////////////////////////////////////
// Mavlink specific
////////////////////////////////////////////////////////////////////////////////
// Used by Mavlink for unknow reasons
static const float radius_of_earth = 6378100; // meters
////////////////////////////////////////////////////////////////////////////////
// Location & Navigation
////////////////////////////////////////////////////////////////////////////////

Loading…
Cancel
Save