mirror of https://github.com/ArduPilot/ardupilot
AP_Math: remove duplicate RADIUS_OF_EARTH definition
This commit is contained in:
parent
c4f1cf2a64
commit
6145794da2
|
@ -24,9 +24,6 @@
|
|||
#include <stdlib.h>
|
||||
#include "AP_Math.h"
|
||||
|
||||
// radius of earth in meters
|
||||
#define RADIUS_OF_EARTH 6378100
|
||||
|
||||
// scaling factor from 1e-7 degrees to meters at equater
|
||||
// == 1.0e-7 * DEG_TO_RAD * RADIUS_OF_EARTH
|
||||
#define LOCATION_SCALING_FACTOR 0.011131884502145034f
|
||||
|
|
Loading…
Reference in New Issue