diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-03 13:46:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-03 13:46:58 +0000 |
commit | 10c4e65e6be0edc3a93e42ccd2bd468dba0a340c (patch) | |
tree | 40dbf723575961a15b5413f892d716f51ca570d3 /driver_italk.c | |
parent | 2a22287cc823558cbf1bc46cb3f01618f1e65018 (diff) | |
download | gpsd-10c4e65e6be0edc3a93e42ccd2bd468dba0a340c.tar.gz |
Break the cycle-start flag out of general status mask into its own field.
Refactoring step, no behavior changes. All regression tests pass.
Diffstat (limited to 'driver_italk.c')
-rw-r--r-- | driver_italk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/driver_italk.c b/driver_italk.c index 76a8f150..f33ab10b 100644 --- a/driver_italk.c +++ b/driver_italk.c @@ -45,7 +45,8 @@ static gps_mask_t decode_itk_navfix(struct gps_device_t *session, unsigned char session->gpsdata.status = STATUS_NO_FIX; session->gpsdata.fix.mode = MODE_NO_FIX; - mask = ONLINE_SET | MODE_SET | STATUS_SET | CYCLE_START_SET; + session->cycle_state = cycle_start; + mask = ONLINE_SET | MODE_SET | STATUS_SET; /* just bail out if this fix is not marked valid */ if (0 != (pflags & FIX_FLAG_MASK_INVALID) || 0 == (flags & FIXINFO_FLAG_VALID)) |