summaryrefslogtreecommitdiff
path: root/driver_nmea2000.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver_nmea2000.c')
-rw-r--r--driver_nmea2000.c6
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 */