diff options
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 3 |
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 |