summaryrefslogtreecommitdiff
path: root/driver_proto.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-08-01 15:15:55 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-08-01 15:15:55 +0000
commit1aead380840db92adbb6ed3cdb213e93276956a9 (patch)
tree6e907f5825b16671d29f7cae1b01ebdd4139bc96 /driver_proto.c
parentef029f6a2a1a47be5bd566a21b9b73d1ff0dd22f (diff)
downloadgpsd-1aead380840db92adbb6ed3cdb213e93276956a9.tar.gz
True North support integrated.
It's not compiled in by default, but it does require one architecture change -- device channels is now a driver- specific capability, since the Thales GPS our TrueNorth user is working with has 14 channels.
Diffstat (limited to 'driver_proto.c')
-rw-r--r--driver_proto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver_proto.c b/driver_proto.c
index e79761b4..8947700d 100644
--- a/driver_proto.c
+++ b/driver_proto.c
@@ -115,6 +115,7 @@ struct gps_type_t proto_binary =
{
.typename = "Prototype driver", /* full name of type */
.trigger = NULL, /* recognize the type */
+ .channels = 12, /* consumer-grade GPS */
.probe = NULL, /* no probe */
.initializer = proto_initializer,/* initialize the device */
.get_packet = packet_get, /* use generic packet getter */