summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-09-19 18:44:40 -0700
committerGary E. Miller <gem@rellim.com>2018-09-19 18:44:40 -0700
commit4126514c1b4f07cbd05baf923744de47db2745a1 (patch)
tree24ef4c134df0aa257aa51752f3bbdf338c857696 /libgpsd_core.c
parent7c8ea9cbcb27790947f758a7c73a108b1c21bfb0 (diff)
downloadgpsd-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.c4
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 ||