diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-04-14 11:29:04 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-04-14 11:29:04 -0400 |
commit | 3780d4aa916d911cf28a087cb7ad0c9d245c03e2 (patch) | |
tree | a16204630ae991719096592046a0c12ee44568e1 /libgpsd_core.c | |
parent | f69385d2ee1c448843350490b509312109b4e9da (diff) | |
download | gpsd-3780d4aa916d911cf28a087cb7ad0c9d245c03e2.tar.gz |
Leap-second warning status from GPS subframe info it's passed to ntpd.
Patch concept from Michael Tatarinov. Modified to use a session context
member rather than a global.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index 2f9e5214..93cb3302 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -103,6 +103,7 @@ void gps_context_init(struct gps_context_t *context) .fixcnt = 0, .start_time = 0, .leap_seconds = 0, + .leap_notify = LEAP_NOWARNING, .gps_week = 0, .gps_tow = 0, .century = 0, |