diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-03 14:20:39 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-03 14:20:39 +0000 |
commit | 4d7853c6bd047f2e64754590411adf4fb6ba4b88 (patch) | |
tree | 65fbcacc14d90200ad7864d7e305cd927ee03ee5 /libgpsd_core.c | |
parent | 10c4e65e6be0edc3a93e42ccd2bd468dba0a340c (diff) | |
download | gpsd-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.c | 2 |
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); |