diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-11-01 07:50:24 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-11-01 07:50:24 +0000 |
commit | 1abe221821a0788c68a5b8c7102081a9271c44e0 (patch) | |
tree | a7050ff5573085a08168e85d59139896ea01d147 /sirf.c | |
parent | 7cc70d9970a2918d149e100e2beecd868d6c6ca8 (diff) | |
download | gpsd-1abe221821a0788c68a5b8c7102081a9271c44e0.tar.gz |
When gpsctrl is given no arguments, it IDs the selected device and exits.
Diffstat (limited to 'sirf.c')
-rw-r--r-- | sirf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,9 +118,9 @@ static void sirfbin_mode(struct gps_device_t *session, int mode) { #ifdef ALLOW_RECONFIGURE if (mode == 0) { - (void)gpsd_switch_driver(session, "SiRF NMEA"); (void)sirf_to_nmea(session->gpsdata.gps_fd,session->gpsdata.baudrate); session->gpsdata.driver_mode = 0; /* NMEA */ + (void)gpsd_switch_driver(session, "SiRF NMEA"); } else #endif /* ALLOW_RECONFIGURE */ session->gpsdata.driver_mode = 1; /* binary */ |