diff options
author | Gary E. Miller <gem@rellim.com> | 2019-04-22 18:48:10 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-04-22 18:48:10 -0700 |
commit | ae36a7a1d946305bf403f1c534dc3d187bdad1ce (patch) | |
tree | adb4c6f18fbc7585a71122dfde8084168ed5e6d9 /gpsd.h | |
parent | 93ded56dc03d4e59c6659967fc363912a0d278cb (diff) | |
download | gpsd-ae36a7a1d946305bf403f1c534dc3d187bdad1ce.tar.gz |
gpsd.h: add ubx.iTOW and ubx.last_iTOW. No functional changes.
These will be used for u-blox cycle detection. iTOW will change even
if the GPS has not determeined UTC yet. fTOW adjusts the extact time
of the fix, but is not to be used in cycle checking.
Diffstat (limited to 'gpsd.h')
-rw-r--r-- | gpsd.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -712,6 +712,9 @@ struct gps_device_t { unsigned int last_msgid; /* last class/ID */ timestamp_t last_time; /* time of last_msgid */ unsigned int end_msgid; /* cycle ender class/ID */ + /* iTOW, and last_iTOW, in ms, used for cycle end detect. */ + int64_t iTOW; + int64_t last_iTOW; } ubx; #endif /* UBLOX_ENABLE */ #ifdef NAVCOM_ENABLE |