diff options
author | Gary E. Miller <gem@rellim.com> | 2019-03-18 16:37:42 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-03-18 16:37:42 -0700 |
commit | 68d54c2dac8e2d082f0326cdcf56c31e70203300 (patch) | |
tree | e3b1fb22ef9244008bc6925d0e50e166ed085031 /gpsd.h | |
parent | f5c0f63229dab56cec9307e0a1c98c3d7650875c (diff) | |
download | gpsd-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |