summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-11 14:18:57 -0700
committerGary E. Miller <gem@rellim.com>2019-04-11 14:18:57 -0700
commitce8b5aea0cff64ded29f8b72618b9102ba59127e (patch)
treebc327ad9ab044ac6eae25b9efd1cf6a8bfceaaa9 /gps.h
parent25064e6733025f97965534836789c90c8db5c315 (diff)
downloadgpsd-ce8b5aea0cff64ded29f8b72618b9102ba59127e.tar.gz
gps.h: Enlarge subtype[] to hold a ZED-F9 string.
96 bytes not enough.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gps.h b/gps.h
index 7ba6e0b9..292df4e5 100644
--- a/gps.h
+++ b/gps.h
@@ -48,6 +48,7 @@ extern "C" {
* Added sep (estimated spherical error, 3D)
* Note: Some GPS call eph as epe, others call sep as epe
* Add gps_fix_t datum string, and qErr
+ * enlarge subtype to hold ZED-F9 string
*/
#define GPSD_API_MAJOR_VERSION 8 /* bump on incompatible changes */
#define GPSD_API_MINOR_VERSION 0 /* bump on compatible changes */
@@ -2005,7 +2006,7 @@ struct devconfig_t {
#define SEEN_RTCM3 0x04
#define SEEN_AIS 0x08
char driver[64];
- char subtype[96];
+ char subtype[128]; /* 96 too small for ZED-F9 */
/* a buffer to hold data to output to GPS */
char hexdata[HEXDATA_MAX];
double activated;