summaryrefslogtreecommitdiff
path: root/driver_oncore.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2016-04-24 15:26:48 -0700
committerGary E. Miller <gem@rellim.com>2016-04-24 15:30:56 -0700
commita8d12eea466d66d28104fb4b24274dc2168227f0 (patch)
tree0eb3dcd10678d046d7d7e1bf294c2a93ed61f3b2 /driver_oncore.c
parent9c3b5204a130be036eced73b7a7cde29f9a8157c (diff)
downloadgpsd-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_oncore.c')
-rw-r--r--driver_oncore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_oncore.c b/driver_oncore.c
index 43f65f0a..caeb3575 100644
--- a/driver_oncore.c
+++ b/driver_oncore.c
@@ -176,7 +176,7 @@ oncore_msg_navsol(struct gps_device_t *session, unsigned char *buf,
}
/* bit 2 of the status word: using for time solution */
if (status & 0x02)
- mask |= PPSTIME_IS | GOODTIME_IS;
+ mask |= NTPTIME_IS | GOODTIME_IS;
/*
* The GOODTIME_IS mask bit exists distinctly from TIME_SET exactly
* so an OnCore running in time-service mode (and other GPS clocks)