From 3dde68036e7d76d659debedb25d1745af4095b73 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 26 Jan 2015 21:13:09 -0500 Subject: Improved adaptive-delay logic. Don't insert them if CAN devices are in play. All regression tests pass. --- driver_nmea2000.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'driver_nmea2000.c') 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 */ -- cgit v1.2.1