summaryrefslogtreecommitdiff
path: root/driver_garmin.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_garmin.c
parente0223915f6b5f3e321405676f182896b4b54c397 (diff)
downloadgpsd-e84f08734721e1924783fd249ed5d2b3ec428685.tar.gz
More efficiebt sticky-flagging.
Diffstat (limited to 'driver_garmin.c')
-rw-r--r--driver_garmin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver_garmin.c b/driver_garmin.c
index 5263163b..32015573 100644
--- a/driver_garmin.c
+++ b/driver_garmin.c
@@ -1374,7 +1374,7 @@ const struct gps_type_t garmin_usb_binary_old =
{
.type_name = "Garmin USB binary", /* full name of type */
.packet_type = GARMIN_PACKET; /* associated lexer packet type */
- .flags = DRIVER_NOFLAGS, /* no flags set */
+ .flags = DRIVER_STICKY, /* remember this */
.trigger = NULL, /* no trigger, it has a probe */
.channels = GARMIN_CHANNELS, /* consumer-grade GPS */
.probe_detect = garmin_usb_detect,/* how to detect at startup time */
@@ -1403,7 +1403,7 @@ const struct gps_type_t garmin_usb_binary =
{
.type_name = "Garmin USB binary", /* full name of type */
.packet_type = GARMIN_PACKET, /* associated lexer packet type */
- .flags = DRIVER_NOFLAGS, /* no flags set */
+ .flags = DRIVER_STICKY, /* remember this */
.trigger = NULL, /* no trigger, it has a probe */
.channels = GARMIN_CHANNELS, /* consumer-grade GPS */
.probe_detect = garmin_usb_detect,/* how to detect at startup time */
@@ -1431,7 +1431,7 @@ const struct gps_type_t garmin_ser_binary =
{
.type_name = "Garmin Serial binary", /* full name of type */
.packet_type = GARMIN_PACKET, /* associated lexer packet type */
- .flags = DRIVER_NOFLAGS, /* no flags set */
+ .flags = DRIVER_STICKY, /* remember this */
.trigger = NULL, /* no trigger, it has a probe */
.channels = GARMIN_CHANNELS, /* consumer-grade GPS */
.probe_detect = NULL, /* how to detect at startup time */