summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-10-26 19:05:15 -0700
committerGary E. Miller <gem@rellim.com>2018-10-26 19:05:15 -0700
commit084db394dfab4c734196544f961a09a0b22ea3c3 (patch)
tree930ec43d121a0944132b9e66e3114d9e7192e3ea /gps.h
parent65f9daadd1d82e7ba77510e5f3a193bbe6d32606 (diff)
downloadgpsd-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps.h b/gps.h
index 8811a8b9..1c5db020 100644
--- a/gps.h
+++ b/gps.h
@@ -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;