summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2007-03-14 04:44:47 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2007-03-14 04:44:47 +0000
commit13edced9d321ac2e4602b9a7f6c025ce8068bd0d (patch)
treea73bb6b68df79a99540a499ac2576a89ed73744b /gpsd.h
parentdad5b1a389bfbcfcd8d1f66a079057514376f243 (diff)
downloadgpsd-13edced9d321ac2e4602b9a7f6c025ce8068bd0d.tar.gz
While NMEA lines shouldn't be more than 82 characters, one of my receivers...
...is currenly emitting 84 character lines. The data is meaningful, the checksum is correct, I think someone just got a format string wrong. GPSD is throwing away usable data.
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.h b/gpsd.h
index aa356521..7489c3eb 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -27,7 +27,7 @@
/* First, declarations for the packet layer... */
-#define NMEA_MAX 82 /* max length of NMEA sentence */
+#define NMEA_MAX 86 /* max length of NMEA sentence */
#define NMEA_BIG_BUF (2*NMEA_MAX+1) /* longer than longest NMEA sentence */
/* a few bits of ISGPS magic */