summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-03 16:12:47 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-04 16:23:28 -0400
commit7eacbef3fa19f37e85d452787a605aad1396a4d2 (patch)
tree6dffcfb82c66f69ba096385a3eb60c1256ef37df /drivers.c
parent85971992215d9ee830046c18d3899f663c8a20df (diff)
downloadgpsd-7eacbef3fa19f37e85d452787a605aad1396a4d2.tar.gz
Change the logic for managing the drive mode bit to report reality...
...rather than setting it ad-hoc on a per-driver basis.
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers.c b/drivers.c
index 6c458458..ff1ff876 100644
--- a/drivers.c
+++ b/drivers.c
@@ -311,7 +311,6 @@ static void garmin_mode_switch(struct gps_device_t *session, int mode)
(void)nmea_send(session, "$PGRMC1,1,2,1,,,,2,W,N");
(void)nmea_send(session, "$PGRMI,,,,,,,R");
(void)usleep(333); /* standard Garmin settling time */
- session->gpsdata.dev.driver_mode = MODE_BINARY;
}
}
#endif /* RECONFIGURE_ENABLE */