diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-03 16:12:47 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-04 16:23:28 -0400 |
commit | 7eacbef3fa19f37e85d452787a605aad1396a4d2 (patch) | |
tree | 6dffcfb82c66f69ba096385a3eb60c1256ef37df /drivers.c | |
parent | 85971992215d9ee830046c18d3899f663c8a20df (diff) | |
download | gpsd-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 */ |