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_tsip.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_tsip.c')
-rw-r--r-- | driver_tsip.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/driver_tsip.c b/driver_tsip.c index a77cbaa3..6fa79b66 100644 --- a/driver_tsip.c +++ b/driver_tsip.c @@ -254,7 +254,7 @@ static gps_mask_t tsip_parse_input(struct gps_device_t *session) session->context->valid |= LEAP_SECOND_VALID; session->newdata.time = gpsd_gpstime_resolve(session, (unsigned short)s1, (double)f1); - mask |= TIME_SET | PPSTIME_IS; + mask |= TIME_SET | NTPTIME_IS; } gpsd_log(&session->context->errout, LOG_INF, "GPS Time %f %d %f\n", f1, s1, f2); @@ -359,7 +359,7 @@ static gps_mask_t tsip_parse_input(struct gps_device_t *session) gpsd_gpstime_resolve(session, (unsigned short)session->context->gps_week, (double)f2); - mask |= TIME_SET | PPSTIME_IS; + mask |= TIME_SET | NTPTIME_IS; } mask |= LATLON_SET | ALTITUDE_SET | CLEAR_IS | REPORT_IS; gpsd_log(&session->context->errout, LOG_DATA, @@ -621,7 +621,7 @@ static gps_mask_t tsip_parse_input(struct gps_device_t *session) gpsd_gpstime_resolve(session, (unsigned short)session->context->gps_week, (double)f1); - mask |= TIME_SET | PPSTIME_IS; + mask |= TIME_SET | NTPTIME_IS; } gpsd_log(&session->context->errout, LOG_INF, "GPS DP LLA %f %f %f %f\n", @@ -713,7 +713,7 @@ static gps_mask_t tsip_parse_input(struct gps_device_t *session) (unsigned short)s4, (double)ul1 *1e-3); mask |= - TIME_SET | PPSTIME_IS | LATLON_SET | ALTITUDE_SET | SPEED_SET | + TIME_SET | NTPTIME_IS | LATLON_SET | ALTITUDE_SET | SPEED_SET | TRACK_SET | CLIMB_SET | STATUS_SET | MODE_SET | CLEAR_IS | REPORT_IS; gpsd_log(&session->context->errout, LOG_DATA, @@ -783,7 +783,7 @@ static gps_mask_t tsip_parse_input(struct gps_device_t *session) if ((session->newdata.track = atan2(d1, d2) * RAD_2_DEG) < 0) session->newdata.track += 360.0; mask |= - TIME_SET | PPSTIME_IS | LATLON_SET | ALTITUDE_SET | SPEED_SET | + TIME_SET | NTPTIME_IS | LATLON_SET | ALTITUDE_SET | SPEED_SET | TRACK_SET |CLIMB_SET | STATUS_SET | MODE_SET | CLEAR_IS | REPORT_IS; gpsd_log(&session->context->errout, LOG_DATA, @@ -811,7 +811,7 @@ static gps_mask_t tsip_parse_input(struct gps_device_t *session) session->context->valid |= LEAP_SECOND_VALID; session->newdata.time = gpsd_gpstime_resolve(session, (unsigned short)s1, (double)ul1); - mask |= TIME_SET | PPSTIME_IS | CLEAR_IS; + mask |= TIME_SET | NTPTIME_IS | CLEAR_IS; gpsd_log(&session->context->errout, LOG_DATA, "SP-TTS 0xab time=%.2f mask={TIME}\n", session->newdata.time); |