diff options
author | Gary E. Miller <gem@rellim.com> | 2016-04-24 15:26:48 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-04-24 15:30:56 -0700 |
commit | a8d12eea466d66d28104fb4b24274dc2168227f0 (patch) | |
tree | 0eb3dcd10678d046d7d7e1bf294c2a93ed61f3b2 /driver_superstar2.c | |
parent | 9c3b5204a130be036eced73b7a7cde29f9a8157c (diff) | |
download | gpsd-a8d12eea466d66d28104fb4b24274dc2168227f0.tar.gz |
PPSTIME -> NTPTIME
NTPTIME is from the serial stream, it never had anything to
do with PPS and it just confused everyone.
Diffstat (limited to 'driver_superstar2.c')
-rw-r--r-- | driver_superstar2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_superstar2.c b/driver_superstar2.c index bd4aab1e..53b8ad49 100644 --- a/driver_superstar2.c +++ b/driver_superstar2.c @@ -101,7 +101,7 @@ superstar2_msg_navsol_lla(struct gps_device_t *session, tm.tm_year = (int)getleu16(buf, 16) - 1900; tm.tm_isdst = 0; session->newdata.time = (timestamp_t)mkgmtime(&tm) + (d - tm.tm_sec); - mask |= TIME_SET | PPSTIME_IS; + mask |= TIME_SET | NTPTIME_IS; /* extract the local tangential plane (ENU) solution */ session->newdata.latitude = getled64((char *)buf, 18) * RAD_2_DEG; @@ -268,7 +268,7 @@ superstar2_msg_timing(struct gps_device_t *session, unsigned char *buf, tm.tm_isdst = 0; session->newdata.time = (timestamp_t)mkgmtime(&tm); session->context->leap_seconds = (int)getsb(buf, 20); - mask = TIME_SET | PPSTIME_IS; + mask = TIME_SET | NTPTIME_IS; } gpsd_log(&session->context->errout, LOG_DATA, "TIMING: time=%.2f mask={TIME}\n", |