diff options
Diffstat (limited to 'timehint.c')
-rw-r--r-- | timehint.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -449,7 +449,7 @@ void ntpshm_link_activate(struct gps_device_t *session) * we're root, assume we want to use KPPS. */ if ((strcmp(session->pps_thread.devicename, MAGIC_HAT_GPS) == 0 - || strcmp(session->pps_thread.devicename, MAGIC_HAT_GPS) == 0) + || strcmp(session->pps_thread.devicename, MAGIC_LINK_GPS) == 0) && access("/dev/pps0", R_OK | W_OK) == 0) session->pps_thread.devicename = "/dev/pps0"; pps_thread_activate(&session->pps_thread); |