diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-10-05 15:46:49 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-10-05 15:46:49 -0400 |
commit | 9a3308a81cd1d8726af34966545822f6c382bd09 (patch) | |
tree | 2b95f08e2d09b9d99cc083eb05c8ebef9e677d24 /ntpshm.c | |
parent | 212d2fa470fd2d52cc9ca48e2058fd887825c156 (diff) | |
download | gpsd-9a3308a81cd1d8726af34966545822f6c382bd09.tar.gz |
Replace pps_on_cts with pps_pin for more flexibility.
Yes, we had a user request for this - a guy using a Jackson Labs
rubidium-oscillator clock whose easy alternatives are RTS and RI.
All regression tests pass. Code splints clean.
Diffstat (limited to 'ntpshm.c')
-rw-r--r-- | ntpshm.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -546,13 +546,7 @@ static int init_kernel_pps(struct gps_device_t *session) { * 9 22 RI <-- Ring Indicator * 5 7 SG Signal ground */ -#if defined(PPS_ON_CTS_ENABLE) -#define PPS_LINE_TIOC TIOCM_CTS -#define PPS_LINE_NAME "CTS" -#else -#define PPS_LINE_TIOC TIOCM_CAR -#define PPS_LINE_NAME "DCD" -#endif +#include "pps_pin.h" /*@-mustfreefresh -type@ -unrecog*/ static /*@null@*/ void *gpsd_ppsmonitor(void *arg) |