diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-03-04 14:53:21 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-03-04 14:53:21 +0000 |
commit | bf752b436a59d90e732ae38994722e45d3b8edad (patch) | |
tree | 1e22467184053bbdfebf835a39977f1ad98fff0f /serial.c | |
parent | 4be4da29af8dbc8146a67df5ee9b68d308f11a78 (diff) | |
download | gpsd-bf752b436a59d90e732ae38994722e45d3b8edad.tar.gz |
Aha! The Garmin probe works now.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ int gpsd_open(struct gps_session_t *session) if (isatty(session->gNMEAdata.gps_fd)) { #ifdef NON_NMEA_ENABLE - if ( session->device_type && (session->device_type->typekey == 'g')) { + if (garmin_probe(session) == 0) { // IFF Garmin then skip the rest of the IO stuff // The Linux Garmin driver ignores all baud rate, stop bits, etc. return session->gNMEAdata.gps_fd; |