diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-30 05:44:30 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-30 05:44:30 +0000 |
commit | 9a12584fec22f3af93c32282e20128cc27a70140 (patch) | |
tree | 386b2752978989eadbe5796c4a90d5fbb7ccb1f6 /driver_zodiac.c | |
parent | 67fb981e3d9c215c823c551a57c37a08e442d5e4 (diff) | |
download | gpsd-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.c | 2 |
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); |