diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-10-05 22:56:19 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-10-05 22:56:19 +0000 |
commit | 8491a91d76c176d39e39f7f2982972cb463f6181 (patch) | |
tree | 38c248390959558303680511ca13ae80ebae6fde /driver_italk.c | |
parent | 3f45071f616a7ab6cf670e1219ec1d6a4cea85d6 (diff) | |
download | gpsd-8491a91d76c176d39e39f7f2982972cb463f6181.tar.gz |
Improve the output from the iTalk...
...by raising end-of-cycle on the navfix sentence rather than the
PRN-status sentence.
Diffstat (limited to 'driver_italk.c')
-rw-r--r-- | driver_italk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_italk.c b/driver_italk.c index 845a66bc..aeafdb6b 100644 --- a/driver_italk.c +++ b/driver_italk.c @@ -262,11 +262,11 @@ static gps_mask_t italk_parse(struct gps_device_t *session, unsigned char *buf, { case ITALK_NAV_FIX: gpsd_report(LOG_IO, "iTalk NAV_FIX len %zu\n", len); - mask = CLEAR_SET | decode_itk_navfix(session, buf, len); + mask = decode_itk_navfix(session, buf, len) | (CLEAR_SET|REPORT_SET); break; case ITALK_PRN_STATUS: gpsd_report(LOG_IO, "iTalk PRN_STATUS len %zu\n", len); - mask = REPORT_SET | decode_itk_prnstatus(session, buf, len); + mask = decode_itk_prnstatus(session, buf, len); break; case ITALK_UTC_IONO_MODEL: gpsd_report(LOG_IO, "iTalk UTC_IONO_MODEL len %zu\n", len); |