summaryrefslogtreecommitdiff
path: root/gpsutils.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 /gpsutils.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 'gpsutils.c')
-rw-r--r--gpsutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsutils.c b/gpsutils.c
index ade5cd57..f05188b6 100644
--- a/gpsutils.c
+++ b/gpsutils.c
@@ -408,7 +408,7 @@ gps_mask_t dop(struct gps_data_t *gpsdata)
#ifdef __UNUSED__
gpsd_report(0, "Satellite picture:\n");
- for (k = 0; k < MAXCHANNELS; k++) {
+ for (k = 0; k < gpsdata->device_type.channels; k++) {
if (gpsdata->used[k])
gpsd_report(0, "az: %d el: %d SV: %d\n",
gpsdata->azimuth[k], gpsdata->elevation[k], gpsdata->used[k]);