diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-09 13:29:24 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-09 13:32:04 -0500 |
commit | 7c78d5fdc837d084d61169c975ec204fee604fcf (patch) | |
tree | d9bafb6f63d59a3495da47b2553dbe073b4b81be /gpsd.h-tail | |
parent | dbf118b5dfef3359aa8c1dc76cda474339594c71 (diff) | |
download | gpsd-7c78d5fdc837d084d61169c975ec204fee604fcf.tar.gz |
Remove some remnants of the adaptive-delay experiment.
All regression tests pass.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index b8d9e54c..bf323230 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -283,14 +283,6 @@ struct gps_context_t { #endif ssize_t (*serial_write)(struct gps_device_t *, const char *buf, const size_t len); - /* - * Used for calculation of sleep time before select(); - * needed to sidestep buggy fast-looping selects. - */ -#define WINDOW_AVG_SIZE 8 /* reset avg after this number of reads */ - float inbytesavg; /* average number of bytes per read */ - unsigned char inbyteswpos; - bool selectbug; /* true if the slect bug is triggered */ }; /* state for resolving interleaved Type 24 packets */ |