diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2014-08-21 03:36:49 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2014-08-21 03:36:49 -0400 |
commit | f661120570dfa268689117af49dd0bfdeb419e14 (patch) | |
tree | 8f2627a52de9f99b899ae8774c1aa0845b882863 | |
parent | 908a4b133455df8ed1b6ab997c534b0df98524fd (diff) | |
download | gpsd-f661120570dfa268689117af49dd0bfdeb419e14.tar.gz |
Revert "Remove dodgy sentence-suppresion code in SiRF driver."
Dodgy code turned out to be right after all - just needs documentation.
-rw-r--r-- | driver_sirf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/driver_sirf.c b/driver_sirf.c index d07a59e0..0dfc5faa 100644 --- a/driver_sirf.c +++ b/driver_sirf.c @@ -1486,6 +1486,12 @@ static void sirfbin_event_hook(struct gps_device_t *session, event_t event) } break; + case 12: + gpsd_report(session->context->debug, LOG_PROG, "SiRF: disable MID 7, 28, 29, 30, 31...\n"); + putbyte(unsetmidXX, 5, 0x05); + (void)sirf_write(session, unsetmidXX); + break; + #endif /* RECONFIGURE_ENABLE */ default: /* initialization is done */ |