From 76535a3b3318266b691a12bef71db467be47282d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 29 Jan 2015 12:49:06 -0500 Subject: Add a minimum packet length to every driver. Length 0 means the minimum is unknown and the driver should use character I/O. --- driver_nmea2000.c | 1 + 1 file changed, 1 insertion(+) (limited to 'driver_nmea2000.c') diff --git a/driver_nmea2000.c b/driver_nmea2000.c index 1d25158b..fba3f967 100644 --- a/driver_nmea2000.c +++ b/driver_nmea2000.c @@ -1687,6 +1687,7 @@ const struct gps_type_t driver_nmea2000 = { #ifdef TIMEHINT_ENABLE .time_offset = NULL, #endif /* TIMEHINT_ENABLE */ + .minlength = 0, /* min packet length unknown */ }; /* *INDENT-ON* */ -- cgit v1.2.1