summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-02-25 18:46:30 -0500
committerEric S. Raymond <esr@thyrsus.com>2012-02-25 18:46:30 -0500
commit1837a410bd1b5aa74ac766a8a4c606e9e83065c9 (patch)
tree3f6e0959762eeabe94041f6803f64ed35089b9e4 /libgpsd_core.c
parent28cd14e85a4cc528fb6756dd1c3b1972eb0edac5 (diff)
downloadgpsd-1837a410bd1b5aa74ac766a8a4c606e9e83065c9.tar.gz
Trial version of PPS drift message. Protocol minor version bumped.
All regression tests pass, code splints clean.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index 4add6e0c..cffac973 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -115,7 +115,8 @@ void gps_context_init(struct gps_context_t *context)
.shmTime = {0},
.shmTimeInuse = {0},
# ifdef PPS_ENABLE
- .shmTimePPS = false,
+ .shmTimePPS = false,
+ .pps_hook = NULL,
# endif /* PPS_ENABLE */
#endif /* NTPSHM_ENABLE */
#ifdef SHM_EXPORT_ENABLE