summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-03 14:20:39 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-03 14:20:39 +0000
commit4d7853c6bd047f2e64754590411adf4fb6ba4b88 (patch)
tree65fbcacc14d90200ad7864d7e305cd927ee03ee5 /libgpsd_core.c
parent10c4e65e6be0edc3a93e42ccd2bd468dba0a340c (diff)
downloadgpsd-4d7853c6bd047f2e64754590411adf4fb6ba4b88.tar.gz
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.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c2
1 files changed, 1 insertions, 1 deletions
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);