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 /libgps.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 'libgps.c')
-rw-r--r-- | libgps.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -257,7 +257,7 @@ static void gps_unpack(char *buf, struct gps_data_t *gpsdata) char eph[20], epv[20], track[20],speed[20], climb[20]; char epd[20], eps[20], epc[20]; int st = sscanf(sp+2, - "%6s %lf %lf %lf %lf %s %s %s %s %s %s %s %s %s", + "%8s %lf %lf %lf %lf %s %s %s %s %s %s %s %s %s", tag, &nf.time, &nf.ept, &nf.latitude, &nf.longitude, alt, eph, epv, track, speed, climb, @@ -289,7 +289,7 @@ static void gps_unpack(char *buf, struct gps_data_t *gpsdata) gpsdata->set |= SPEEDERR_SET; if (isnan(nf.epc)==0) gpsdata->set |= CLIMBERR_SET; - + nf.pitch = nf.roll = nf.dip = NAN; gpsdata->fix = nf; (void)strcpy(gpsdata->tag, tag); gpsdata->set = TIME_SET|TIMERR_SET|LATLON_SET|MODE_SET; |