summaryrefslogtreecommitdiff
path: root/driver_zodiac.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-30 05:44:30 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-30 05:44:30 +0000
commit9a12584fec22f3af93c32282e20128cc27a70140 (patch)
tree386b2752978989eadbe5796c4a90d5fbb7ccb1f6 /driver_zodiac.c
parent67fb981e3d9c215c823c551a57c37a08e442d5e4 (diff)
downloadgpsd-9a12584fec22f3af93c32282e20128cc27a70140.tar.gz
Refactor the cycle-end tracking. The AIS machinery should use it.
All regression tests pass.
Diffstat (limited to 'driver_zodiac.c')
-rw-r--r--driver_zodiac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c
index e833bdc0..86319365 100644
--- a/driver_zodiac.c
+++ b/driver_zodiac.c
@@ -413,7 +413,7 @@ static gps_mask_t zodiac_analyze(struct gps_device_t *session)
* We cound 1001 as end of cycle because 1002 doesn't
* carry fix information.
*/
- session->cycle_state = CYCLE_END_RELIABLE;
+ session->cycle_end_reliable = true;
if (id == 1000)
session->cycle_state |= (CYCLE_START | CYCLE_END);