[prev in list] [next in list] [prev in thread] [next in thread]
List: gpsd-commit-watch
Subject: [Gpsd-commit-watch] r4014 - trunk
From: ckuethe at BerliOS <ckuethe () mail ! berlios ! de>
Date: 2006-11-29 0:05:50
Message-ID: 200611290005.kAT05oqX008413 () sheep ! berlios ! de
[Download RAW message or body]
Author: ckuethe
Date: 2006-11-29 01:05:49 +0100 (Wed, 29 Nov 2006)
New Revision: 4014
Modified:
trunk/drivers.c
Log:
Because configure allows the selection of PPS on DCD or CTS, we should
do the same when setting up the OpenBSD-specific timestamping code.
Modified: trunk/drivers.c
===================================================================
--- trunk/drivers.c 2006-11-28 23:58:49 UTC (rev 4013)
+++ trunk/drivers.c 2006-11-29 00:05:49 UTC (rev 4014)
@@ -83,7 +83,11 @@
#ifdef TIOCSTSTAMP
struct tstamps tstamps;
+#ifdef PPS_ON_CTS
+ tstamps.ts_set |= TIOCM_CTS;
+#else /*!PPS_ON_CTS */
tstamps.ts_set |= TIOCM_CAR;
+#endif /* PPS_ON_CTS */
tstamps.ts_clr = 0;
if (ioctl(session->gpsdata.gps_fd, TIOCSTSTAMP, &tstamps) < 0)
_______________________________________________
Gpsd-commit-watch mailing list
Gpsd-commit-watch@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/gpsd-commit-watch
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic