diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-10-01 14:09:53 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-10-01 14:09:53 +0000 |
commit | b16ea563ea36a4dbbcc436bc8bc42be123c2b164 (patch) | |
tree | 5193122aea2d16abc29bbcd8692d5df77437fe30 /driver_tsip.c | |
parent | c22357187db715079b9cf3167da0b486480180ba (diff) | |
download | gpsd-b16ea563ea36a4dbbcc436bc8bc42be123c2b164.tar.gz |
In the gpsdata structure, satellites -> satellites_visible
All regression tests pass, code splints clean.
Diffstat (limited to 'driver_tsip.c')
-rw-r--r-- | driver_tsip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/driver_tsip.c b/driver_tsip.c index 41220963..8544e02b 100644 --- a/driver_tsip.c +++ b/driver_tsip.c @@ -341,10 +341,10 @@ static gps_mask_t tsip_analyze(struct gps_device_t *session) = session->gpsdata.azimuth[i] = 0; session->gpsdata.ss[i] = 0.0; } - if (++i == session->gpsdata.satellites) + if (++i == session->gpsdata.satellites_visible) mask |= SATELLITE_SET; /* last of the series */ - if (i > session->gpsdata.satellites) - session->gpsdata.satellites = i; + if (i > session->gpsdata.satellites_visible) + session->gpsdata.satellites_visible = i; } break; case 0x6d: /* All-In-View Satellite Selection */ |