diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-16 11:37:58 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-16 11:37:58 -0400 |
commit | 5a909885ab5bb7b4ec32e7d86a20eedde82a40f9 (patch) | |
tree | b625ca40635ee21ac9e5c0c34dbd6c739caf6d82 /gpsd.h-tail | |
parent | 35aa92e4c4e222341b82110928de6b4832a5cca6 (diff) | |
download | gpsd-5a909885ab5bb7b4ec32e7d86a20eedde82a40f9.tar.gz |
Leave plenty of room for GGA timestamps with subsecond parts.
Thomas Sprinkmeier said "[With a length of 7] I'm getting these
timestamps 4 times per second, "hhmmss.ff\0". The fractions are being
ignored, the GPS is assumes to be 'latched' and the mode and status
are being messed up.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index 9cd2e227..7355f5db 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -420,7 +420,7 @@ struct gps_device_t { unsigned char fieldcopy[NMEA_MAX+1]; /* detect receivers that ship GGA with non-advancing timestamp */ bool latch_mode; - char last_gga_timestamp[7]; + char last_gga_timestamp[16]; /* * State for the cycle-tracking machinery. * The reason these timestamps are separate from the |