diff options
author | Gary E. Miller <gem@rellim.com> | 2018-10-26 19:05:15 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-10-26 19:05:15 -0700 |
commit | 084db394dfab4c734196544f961a09a0b22ea3c3 (patch) | |
tree | 930ec43d121a0944132b9e66e3114d9e7192e3ea /gps.h | |
parent | 65f9daadd1d82e7ba77510e5f3a193bbe6d32606 (diff) | |
download | gpsd-084db394dfab4c734196544f961a09a0b22ea3c3.tar.gz |
rawdata_t: convert mtime from timestamp_t to timespec_t.
One ns is important when measuring distance using time.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1904,7 +1904,7 @@ struct dop_t { struct rawdata_t { /* raw measurement data, suitable for RINEX 3 */ - double mtime; /* sec */ + timespec_t mtime; /* sec, nsec */ struct { /* gnssid see satellite_t for decode */ unsigned char gnssid; |