From 4d7853c6bd047f2e64754590411adf4fb6ba4b88 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 3 Sep 2009 14:20:39 +0000 Subject: Now make it possible for a driver to signal cycle start, cycle end, ... and the fact that its cycle end indication is reliable. All regression tests pass. --- libgpsd_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgpsd_core.c') diff --git a/libgpsd_core.c b/libgpsd_core.c index 31dcf620..7220e410 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -754,7 +754,7 @@ gps_mask_t gpsd_poll(struct gps_device_t *session) } else { gps_mask_t received, dopmask = 0; session->gpsdata.online = timestamp(); - session->cycle_state = cycle_undefined; + session->cycle_state = 0; gpsd_report(LOG_RAW+3, "Accepted packet on %s.\n", session->gpsdata.dev.path); -- cgit v1.2.1