diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2008-07-20 22:55:32 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2008-07-20 22:55:32 +0000 |
commit | fd208be4d01ac748783288a50da966d5dc09ddc1 (patch) | |
tree | 31379076d150c68cc47076e85df8f2f91be9b681 /geoid.c | |
parent | 36dbc41bfe0130adbe66c26975bd8ff881a3b3bf (diff) | |
download | gpsd-fd208be4d01ac748783288a50da966d5dc09ddc1.tar.gz |
change various PI macros to GPS_PI
Diffstat (limited to 'geoid.c')
-rw-r--r-- | geoid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |