diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-18 11:26:00 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-18 11:26:00 -0400 |
commit | c00be23fbd4cf2aa23d85abc5ec68d31342c010d (patch) | |
tree | 94e9d64c1a874ffc07a41563d9cc69e6cd79de89 /driver_proto.c | |
parent | 02cbcbc04f55e37c73a92b44f9d6e1c7723cf18c (diff) | |
download | gpsd-c00be23fbd4cf2aa23d85abc5ec68d31342c010d.tar.gz |
Minor fixup to driver prototype example.
Diffstat (limited to 'driver_proto.c')
-rw-r--r-- | driver_proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_proto.c b/driver_proto.c index 16b99802..2e608b14 100644 --- a/driver_proto.c +++ b/driver_proto.c @@ -83,7 +83,7 @@ _proto__msg_navsol(struct gps_device_t *session, unsigned char *buf, size_t data /* extract ECEF navigation solution here */ /* or extract the local tangential plane (ENU) solution */ [Px, Py, Pz, Vx, Vy, Vz] = GET_ECEF_FIX(); - ecef_to_wgs84fix(&session->newdata, &session->separation, + ecef_to_wgs84fix(&session->newdata, &session->gpsdata.separation, Px, Py, Pz, Vx, Vy, Vz); mask |= LATLON_IS | ALTITUDE_IS | SPEED_IS | TRACK_IS | CLIMB_IS ; |