diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-15 13:35:33 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-15 13:35:33 -0400 |
commit | e84f08734721e1924783fd249ed5d2b3ec428685 (patch) | |
tree | 410b240ff227717e2dd7752ba6a78e0c84934e5b /driver_nmea2000.c | |
parent | e0223915f6b5f3e321405676f182896b4b54c397 (diff) | |
download | gpsd-e84f08734721e1924783fd249ed5d2b3ec428685.tar.gz |
More efficiebt sticky-flagging.
Diffstat (limited to 'driver_nmea2000.c')
-rw-r--r-- | driver_nmea2000.c | 2 |
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, |