summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-11-05 20:43:04 -0800
committerGary E. Miller <gem@rellim.com>2018-11-05 20:43:04 -0800
commit45022c255525421efa6db34859fe4a6e70671c24 (patch)
tree482ed2c5473b35f7129868cfcf891b7ad721ac20 /gps.h
parente5fdf82ff4767d09d5b9472131c0426ac06c8674 (diff)
downloadgpsd-45022c255525421efa6db34859fe4a6e70671c24.tar.gz
rawdata: change mtime from UTC to GPS.
Oddly, gpsd clients to not know the current leap seconds.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gps.h b/gps.h
index 03e9fa61..5b78b761 100644
--- a/gps.h
+++ b/gps.h
@@ -1904,7 +1904,8 @@ struct dop_t {
struct rawdata_t {
/* raw measurement data, suitable for RINEX 3 */
- timespec_t mtime; /* UTC of measurement: sec, nsec */
+ timespec_t mtime; /* time of measurement: sec, nsec
+ * Note: GPS time, not UTC time */
struct meas_t {
/* gnssid see satellite_t for decode */
unsigned char gnssid;