summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2006-09-27 03:44:09 +0000
committerGary E. Miller <gem@rellim.com>2006-09-27 03:44:09 +0000
commit8bafc32468e1bf5b33205e97293b99d927b1855f (patch)
treec465c2a89f0552a7199b9816aae7e7aab1065d00 /gpsd.h
parent9838bb9cb6e66c2a000881c1f7461c699e6b5af0 (diff)
downloadgpsd-8bafc32468e1bf5b33205e97293b99d927b1855f.tar.gz
Fix GPGSV output, tweak the file comments
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpsd.h b/gpsd.h
index 55cba880..56fb6cfb 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -139,7 +139,8 @@ struct gps_device_t {
unsigned char inbuffer[MAX_PACKET_LENGTH*2+1];
size_t inbuflen;
unsigned /*@observer@*/char *inbufptr;
- unsigned char outbuffer[MAX_PACKET_LENGTH+1];
+ /* outbuffer needs to be able to hold 4 GPGSV records at once */
+ unsigned char outbuffer[MAX_PACKET_LENGTH*2+1];
size_t outbuflen;
unsigned long char_counter; /* count characters processed */
unsigned long retry_counter; /* count sniff retries */