diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-08-01 15:15:55 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-08-01 15:15:55 +0000 |
commit | 1aead380840db92adbb6ed3cdb213e93276956a9 (patch) | |
tree | 6e907f5825b16671d29f7cae1b01ebdd4139bc96 /gpsutils.c | |
parent | ef029f6a2a1a47be5bd566a21b9b73d1ff0dd22f (diff) | |
download | gpsd-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]); |