summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-03-18 16:37:42 -0700
committerGary E. Miller <gem@rellim.com>2019-03-18 16:37:42 -0700
commit68d54c2dac8e2d082f0326cdcf56c31e70203300 (patch)
treee3b1fb22ef9244008bc6925d0e50e166ed085031 /gpsd.h
parentf5c0f63229dab56cec9307e0a1c98c3d7650875c (diff)
downloadgpsd-68d54c2dac8e2d082f0326cdcf56c31e70203300.tar.gz
driver_nmea0183: Fix 32/64 bug in cycle enders.
Long standing bug, that became obvious when more NMEA decodes were added. A 32 bit mask used to index into a 40 member array.o Also fix over agressive mode setting on $PSRFEPE.
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsd.h b/gpsd.h
index bc3cb2f8..1ea2b27e 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -582,8 +582,8 @@ struct gps_device_t {
*/
timestamp_t this_frac_time, last_frac_time;
bool latch_frac_time;
- unsigned long lasttag;
- unsigned long cycle_enders;
+ int lasttag; /* index into nmea_phrase[] */
+ uint64_t cycle_enders; /* bit map into nmea_phrase{} */
bool cycle_continue;
} nmea;
#endif /* NMEA0183_ENABLE */