diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-01-26 21:13:09 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-01-27 07:34:25 -0500 |
commit | 3dde68036e7d76d659debedb25d1745af4095b73 (patch) | |
tree | 1658580e096c3f2103bdb8c045b943759c2106d0 /driver_nmea2000.c | |
parent | b9211a0a482a72c4d88248dd7c99a59df2c54906 (diff) | |
download | gpsd-3dde68036e7d76d659debedb25d1745af4095b73.tar.gz |
Improved adaptive-delay logic. Don't insert them if CAN devices are in play.
All regression tests pass.
Diffstat (limited to 'driver_nmea2000.c')
-rw-r--r-- | driver_nmea2000.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/driver_nmea2000.c b/driver_nmea2000.c index e2bc0fa1..1d25158b 100644 --- a/driver_nmea2000.c +++ b/driver_nmea2000.c @@ -1644,15 +1644,9 @@ int nmea2000_open(struct gps_device_t *session) } } - /* - * For device-classification purposes, pretend this is a fast pseudo-tty. - * What we mainly want out of this is to disable the adaptive-delay logic, - * which causes loss of CAN packets. - */ session->gpsdata.dev.parity = 'n'; session->gpsdata.dev.baudrate = 250000; session->gpsdata.dev.stopbits = 0; - session->sourcetype = source_pty; return session->gpsdata.gps_fd; } #endif /* of ifndef S_SPLINT_S */ |