summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 88de9b63..2d40ccd1 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -852,7 +852,7 @@ static void gpsmon_hook(struct gps_device_t *device, gps_mask_t changed UNUSED)
* and it is a new second. */
if ( 0 != isnan(device->newdata.time)) {
// "NTP: bad new time
-#ifdef PPS_ENABLE
+#if defined(PPS_ENABLE) && !defined(S_SPLINT_S)
} else if (device->newdata.time <= device->pps_thread.fixin_real.tv_sec) {
// "NTP: Not a new time
#endif /* PPS_ENABLE */