summaryrefslogtreecommitdiff
path: root/driver_tsip.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-01-29 12:49:06 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-01-29 12:49:06 -0500
commit76535a3b3318266b691a12bef71db467be47282d (patch)
tree146327dc1f26918ef61eee30e513d88e033768d1 /driver_tsip.c
parenta3af061b227d8334f6f69191ee211baf66de2408 (diff)
downloadgpsd-76535a3b3318266b691a12bef71db467be47282d.tar.gz
Add a minimum packet length to every driver.
Length 0 means the minimum is unknown and the driver should use character I/O.
Diffstat (limited to 'driver_tsip.c')
-rw-r--r--driver_tsip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver_tsip.c b/driver_tsip.c
index 6134e3d9..994da718 100644
--- a/driver_tsip.c
+++ b/driver_tsip.c
@@ -1281,6 +1281,7 @@ const struct gps_type_t driver_tsip =
#ifdef TIMEHINT_ENABLE
.time_offset = tsip_time_offset,
#endif /* TIMEHINT_ENABLE */
+ .minlength = 5, /* min packet length for chunked I/O */
};
/* *INDENT-ON* */