[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpsd-commit-watch
Subject:    [Gpsd-commit-watch] r1843 - trunk
From:       esr () sheep ! berlios ! de (Eric S !  Raymond at BerliOS)
Date:       2005-02-26 23:06:54
Message-ID: 200502262306.j1QN6sti031144 () sheep ! berlios ! de
[Download RAW message or body]

Author: esr
Date: 2005-02-27 00:06:53 +0100 (Sun, 27 Feb 2005)
New Revision: 1843

Modified:
   trunk/gpsd.c
Log:
Device driver no longer contains a baudtate.


Modified: trunk/gpsd.c
===================================================================
--- trunk/gpsd.c	2005-02-26 18:31:16 UTC (rev 1842)
+++ trunk/gpsd.c	2005-02-26 23:06:53 UTC (rev 1843)
@@ -221,8 +221,7 @@
 #endif /* PROFILING */
 	    sprintf(phrase, ",B=%d %d N %d", 
 		    gpsd_get_speed(&session->ttyset),
-		    9-session->device_type->stopbits,
-		    session->device_type->stopbits);
+		    9 - ud->stopbits, ud->stopbits);
 	    break;
 	case 'C':
 	    sprintf(phrase, ",C=%d", session->device_type->cycle);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic