From 9a12584fec22f3af93c32282e20128cc27a70140 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 30 Sep 2009 05:44:30 +0000 Subject: Refactor the cycle-end tracking. The AIS machinery should use it. All regression tests pass. --- driver_zodiac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'driver_zodiac.c') 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); -- cgit v1.2.1