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

List:       gpsd-commit-watch
Subject:    [Gpsd-commit-watch] r1832 - trunk
From:       esr () sheep ! berlios ! de (Eric S !  Raymond at BerliOS)
Date:       2005-02-25 18:28:25
Message-ID: 200502251828.j1PISPL3007203 () sheep ! berlios ! de
[Download RAW message or body]

Author: esr
Date: 2005-02-25 19:28:22 +0100 (Fri, 25 Feb 2005)
New Revision: 1832

Modified:
   trunk/serial.c
Log:
Yes!  With the new state machine, we don't need the 3-second delay!


Modified: trunk/serial.c
===================================================================
--- trunk/serial.c	2005-02-25 18:23:47 UTC (rev 1831)
+++ trunk/serial.c	2005-02-25 18:28:22 UTC (rev 1832)
@@ -66,8 +66,6 @@
 	if (tcsetattr(session->gNMEAdata.gps_fd, TCSANOW, &session->ttyset) != 0)
 	    return 0;
 	tcflush(session->gNMEAdata.gps_fd, TCIOFLUSH);
-
-	usleep(3000000);	/* allow the UART time to settle */
     }
 
     if ((ok = (packet_sniff(session) == NMEA_PACKET)))


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

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