diff options
author | Gary E. Miller <gem@rellim.com> | 2010-04-17 07:18:00 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2010-04-17 07:18:00 -0700 |
commit | 006e0cf197a9c240938f33b5024b04305bcee0e4 (patch) | |
tree | fc95b83b519afc9329377232a9ef8d07170166d5 /driver_italk.c | |
parent | 22c1cabaa44ea209e2cd1909529c7b7d76372b5c (diff) | |
download | gpsd-006e0cf197a9c240938f33b5024b04305bcee0e4.tar.gz |
Condition out recent change to 50BPS handling in italk and ubx
protocols. They are still broken, HAVE been broken for a while
as shown by jumping leap seconds.
Diffstat (limited to 'driver_italk.c')
-rw-r--r-- | driver_italk.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/driver_italk.c b/driver_italk.c index 5274a779..995b63b8 100644 --- a/driver_italk.c +++ b/driver_italk.c @@ -239,7 +239,7 @@ static gps_mask_t decode_itk_subframe(struct gps_device_t *session, * words with parity checking done but parity bits still present." */ /*@-type@*/ -#ifdef __UNUSED__ +#if 1 words[0] = (getbeul(buf, 7 + 14) & 0x3fffffff) >> 6; words[1] = (getleul(buf, 7 + 18) & 0x3fffffff) >> 6; words[2] = (getleul(buf, 7 + 22) & 0x3fffffff) >> 6; @@ -250,13 +250,15 @@ static gps_mask_t decode_itk_subframe(struct gps_device_t *session, words[7] = (getleul(buf, 7 + 42) & 0x3fffffff) >> 6; words[8] = (getleul(buf, 7 + 46) & 0x3fffffff) >> 6; words[9] = (getleul(buf, 7 + 50) & 0x3fffffff) >> 6; -#endif + gpsd_interpret_subframe(session, words); +#else /*@+type@*/ for (i = 0; i < 10; i++) { words[i] = (unsigned int)getbeul(buf, 4 * i + 17); } gpsd_interpret_subframe_raw(session, words); +#endif return ONLINE_IS; } |