summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-03-04 18:48:27 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-03-04 18:48:27 +0000
commita38039ec02d41d2af42bb47afb9dc82d738f3de4 (patch)
treec9e4553896fcf3350d66d3561adebbb473a9829a /serial.c
parent637967a10e8c0a731f97a9df4ab0ddd307e8cbf5 (diff)
downloadgpsd-a38039ec02d41d2af42bb47afb9dc82d738f3de4.tar.gz
Oops. Put in the actual driver switch.
Diffstat (limited to 'serial.c')
-rw-r--r--serial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/serial.c b/serial.c
index a91f72b2..a5875fe2 100644
--- a/serial.c
+++ b/serial.c
@@ -97,6 +97,7 @@ int gpsd_open(struct gps_session_t *session)
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.
+ gpsd_switch_driver(session, "Garmin binary");
return session->gNMEAdata.gps_fd;
}
#endif /* NON_NMEA_ENABLE */