summaryrefslogtreecommitdiff
path: root/driver_evermore.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-05 14:06:07 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-05 14:06:07 -0400
commitb8547586aa0a9a5b330ad21de845d885f93cc10a (patch)
tree0249515558fc0d800ff2b9f3d75db54367496c99 /driver_evermore.c
parentf1d0dea4ce72f8e49eefcec94c2daf325358d809 (diff)
downloadgpsd-b8547586aa0a9a5b330ad21de845d885f93cc10a.tar.gz
Refactoring step. Change the signature of ecef_to_wgs84fix().
All regression tests pass.
Diffstat (limited to 'driver_evermore.c')
-rw-r--r--driver_evermore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_evermore.c b/driver_evermore.c
index 4d9c9b30..ba176473 100644
--- a/driver_evermore.c
+++ b/driver_evermore.c
@@ -185,7 +185,7 @@ gps_mask_t evermore_parse(struct gps_device_t *session, unsigned char *buf, size
session->gpsdata.fix.time =
gpstime_to_unix((int)getleuw(buf2, 2), getleul(buf2, 4)*0.01) - session->context->leap_seconds;
/*@ end @*/
- ecef_to_wgs84fix(&session->gpsdata,
+ ecef_to_wgs84fix(&session->gpsdata.fix, &session->gpsdata.separation,
getlesl(buf2, 8)*1.0, getlesl(buf2, 12)*1.0, getlesl(buf2, 16)*1.0,
getlesw(buf2, 20)/10.0, getlesw(buf2, 22)/10.0, getlesw(buf2, 24)/10.0);
used = (unsigned char)getub(buf2, 26) & 0x0f;