summaryrefslogtreecommitdiff
path: root/geoid.c
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2008-07-20 22:55:32 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2008-07-20 22:55:32 +0000
commitfd208be4d01ac748783288a50da966d5dc09ddc1 (patch)
tree31379076d150c68cc47076e85df8f2f91be9b681 /geoid.c
parent36dbc41bfe0130adbe66c26975bd8ff881a3b3bf (diff)
downloadgpsd-fd208be4d01ac748783288a50da966d5dc09ddc1.tar.gz
change various PI macros to GPS_PI
Diffstat (limited to 'geoid.c')
-rw-r--r--geoid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/geoid.c b/geoid.c
index 20e9bdb7..e77a40b3 100644
--- a/geoid.c
+++ b/geoid.c
@@ -117,7 +117,7 @@ void ecef_to_wgs84fix(struct gps_data_t *gpsdata,
heading = atan2(fix_minuz(veast), fix_minuz(vnorth));
/*@ +evalorder @*/
if (heading < 0)
- heading += 2 * PI;
+ heading += 2 * GPS_PI;
gpsdata->fix.track = heading * RAD_2_DEG;
}