summaryrefslogtreecommitdiff
path: root/driver_proto.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-18 11:26:00 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-03-18 11:26:00 -0400
commitc00be23fbd4cf2aa23d85abc5ec68d31342c010d (patch)
tree94e9d64c1a874ffc07a41563d9cc69e6cd79de89 /driver_proto.c
parent02cbcbc04f55e37c73a92b44f9d6e1c7723cf18c (diff)
downloadgpsd-c00be23fbd4cf2aa23d85abc5ec68d31342c010d.tar.gz
Minor fixup to driver prototype example.
Diffstat (limited to 'driver_proto.c')
-rw-r--r--driver_proto.c2
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 ;