diff options
author | Gary E. Miller <gem@rellim.com> | 2018-09-19 18:44:40 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-09-19 18:44:40 -0700 |
commit | 4126514c1b4f07cbd05baf923744de47db2745a1 (patch) | |
tree | 24ef4c134df0aa257aa51752f3bbdf338c857696 /libgpsd_core.c | |
parent | 7c8ea9cbcb27790947f758a7c73a108b1c21bfb0 (diff) | |
download | gpsd-4126514c1b4f07cbd05baf923744de47db2745a1.tar.gz |
gps.h: remove wrong SBAS_PRN()
This macro was wrong, and causing valid sats to not be included in
the COP calculations.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index c33c14b8..344b7287 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -731,8 +731,8 @@ static gps_mask_t fill_dop(const struct gpsd_errout_t *errout, /* skip unused sats */ continue; } - if (1 > gpsdata->skyview[k].PRN || SBAS_PRN(gpsdata->skyview[k].PRN)) { - /* skip bad PRN, skip SBAS sats */ + if (1 > gpsdata->skyview[k].PRN) { + /* skip bad PRN */ continue; } if (0 > gpsdata->skyview[k].azimuth || |