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 /driver_italk.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 'driver_italk.c')
-rw-r--r-- | driver_italk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_italk.c b/driver_italk.c index f33ab10b..848255fc 100644 --- a/driver_italk.c +++ b/driver_italk.c @@ -45,7 +45,7 @@ static gps_mask_t decode_itk_navfix(struct gps_device_t *session, unsigned char session->gpsdata.status = STATUS_NO_FIX; session->gpsdata.fix.mode = MODE_NO_FIX; - session->cycle_state = cycle_start; + session->cycle_state |= CYCLE_START; mask = ONLINE_SET | MODE_SET | STATUS_SET; /* just bail out if this fix is not marked valid */ |