summaryrefslogtreecommitdiff
path: root/driver_nmea2000.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-15 13:35:33 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-15 13:35:33 -0400
commite84f08734721e1924783fd249ed5d2b3ec428685 (patch)
tree410b240ff227717e2dd7752ba6a78e0c84934e5b /driver_nmea2000.c
parente0223915f6b5f3e321405676f182896b4b54c397 (diff)
downloadgpsd-e84f08734721e1924783fd249ed5d2b3ec428685.tar.gz
More efficiebt sticky-flagging.
Diffstat (limited to 'driver_nmea2000.c')
-rw-r--r--driver_nmea2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_nmea2000.c b/driver_nmea2000.c
index 01a652f1..f2378df2 100644
--- a/driver_nmea2000.c
+++ b/driver_nmea2000.c
@@ -1296,7 +1296,7 @@ void nmea2000_close(struct gps_device_t *session)
const struct gps_type_t nmea2000 = {
.type_name = "NMEA2000", /* full name of type */
.packet_type = NMEA2000_PACKET, /* associated lexer packet type */
- .flags = DRIVER_NOFLAGS, /* no rollover or other flags */
+ .flags = DRIVER_STICKY, /* remember this */
.trigger = NULL, /* detect their main sentence */
.channels = 12, /* not an actual GPS at all */
.probe_detect = NULL,