diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-10-01 23:24:21 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-10-01 23:24:21 +0000 |
commit | a93eedd514133ea4a60fd0756947c827546d72c5 (patch) | |
tree | 9ae1bba752acb0130dcf1c1cf82e8a4452b28153 /gps.h | |
parent | 1711ebc03a92948579855c860759f18fa9d328d0 (diff) | |
download | gpsd-a93eedd514133ea4a60fd0756947c827546d72c5.tar.gz |
Clear up some driver-level confusion surrounding timestamp setting.
There was lots of duplicative setting of gpsdata.fix.time and
gpsdata.sentence_time. The latter is now gone. The only case the
sentence_time member was actually used for was timestamping skyviews;
a new gpsdata.skyview_time now handles that, and all drivers set it
properly.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -936,6 +936,7 @@ struct gps_data_t { double epe; /* spherical position error, 95% confidence (meters) */ /* satellite status -- valid when satellites > 0 */ + double skyview_time; /* skyview timestamp */ int satellites_visible; /* # of satellites in view */ int PRN[MAXCHANNELS]; /* PRNs of satellite */ int elevation[MAXCHANNELS]; /* elevation of satellite */ @@ -945,7 +946,6 @@ struct gps_data_t { struct devconfig_t dev; /* device that shipped last update */ char tag[MAXTAGLEN+1]; /* tag of last sentence processed */ - double sentence_time; /* sentence timestamp (not the fix time!) */ /* hook functions */ int gps_fd; /* socket or file descriptor to GPS */ |