summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-08-21 16:39:36 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-08-21 16:39:36 +0000
commitb8bb7401533d5bc28b0b1f36c14832877e2e1901 (patch)
treeefb4910f920358d6da8f94fed016dd8058a89916 /drivers.c
parent3e535e34cbc2461e6ef417f6a3059ea6bdd4e1d4 (diff)
downloadgpsd-b8bb7401533d5bc28b0b1f36c14832877e2e1901.tar.gz
Document the fact that the channels member is no longer used for parsing.
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers.c b/drivers.c
index 1572d5ab..43889656 100644
--- a/drivers.c
+++ b/drivers.c
@@ -159,7 +159,7 @@ static void garmin_initializer(struct gps_device_t *session)
static struct gps_type_t garmin = {
.typename = "Garmin Serial", /* full name of type */
.trigger = "$PGRMC", /* Garmin private */
- .channels = 12, /* consumer-grade GPS */
+ .channels = 12, /* not used by this driver */
.probe = NULL, /* no probe */
.initializer = garmin_initializer,/* probe for special types */
.get_packet = packet_get, /* use generic packet getter */
@@ -183,7 +183,7 @@ static struct gps_type_t garmin = {
static struct gps_type_t fv18 = {
.typename = "San Jose Navigation FV18", /* full name of type */
.trigger = FV18_PROBE, /* FV18s should echo the probe */
- .channels = 12, /* consumer-grade GPS */
+ .channels = 12, /* not used by this driver */
.probe = NULL, /* mo probe */
.initializer = NULL, /* to be sent unconditionally */
.get_packet = packet_get, /* how to get a packet */
@@ -247,7 +247,7 @@ static struct gps_type_t sirf_nmea = {
#else
.trigger = NULL, /* let the binary driver have it */
#endif /* SIRF_ENABLE */
- .channels = 12, /* consumer-grade GPS */
+ .channels = 12, /* not used by the NMEA parser */
.probe = NULL, /* no probe */
.initializer = sirf_initializer, /* turn off debugging messages */
.get_packet = packet_get, /* how to get a packet */
@@ -336,7 +336,7 @@ static void earthmate_initializer(struct gps_device_t *session)
static struct gps_type_t earthmate = {
.typename = "Delorme EarthMate (pre-2003, Zodiac chipset)",
.trigger = "EARTHA", /* Earthmate trigger string */
- .channels = 12, /* consumer-grade GPS */
+ .channels = 12, /* not used by NMEA parser */
.probe = NULL, /* no probe */
.initializer = earthmate_initializer, /* switch us to Zodiac mode */
.get_packet = packet_get, /* how to get a packet */
@@ -483,7 +483,7 @@ static gps_mask_t rtcm104_analyze(struct gps_device_t *session)
static struct gps_type_t rtcm104 = {
.typename = "RTCM104", /* full name of type */
.trigger = NULL, /* no recognition string */
- .channels = 12, /* consumer-grade GPS */
+ .channels = 0, /* not used */
.probe = NULL, /* no probe */
.initializer = NULL, /* no initializer */
.get_packet = packet_get, /* how to get a packet */