summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorGreg Troxel <gdt@ir.bbn.com>2009-03-05 20:38:48 +0000
committerGreg Troxel <gdt@ir.bbn.com>2009-03-05 20:38:48 +0000
commit7c4adb5387bfa22045bca64de2a4b1d3a7bbf229 (patch)
treeca1a69d96ee8a1e245a1a3a6c5239c1040d34010 /gpsmon.c
parentdcb343ca3228785efe83e1fac9943439f390c33c (diff)
downloadgpsd-7c4adb5387bfa22045bca64de2a4b1d3a7bbf229.tar.gz
Remove leftover usleep of 100 ms.
Resolves problem of gpsmon getting behind (on NetBSD with ublox).
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 8a126208..08b8101f 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -161,8 +161,6 @@ static ssize_t readpkt(void)
if (!FD_ISSET(session.gpsdata.gps_fd,&select_set))
return EOF;
- (void)usleep(100000);
-
changed = gpsd_poll(&session);
if (changed & ERROR_SET)
return EOF;