From 4126514c1b4f07cbd05baf923744de47db2745a1 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Wed, 19 Sep 2018 18:44:40 -0700 Subject: gps.h: remove wrong SBAS_PRN() This macro was wrong, and causing valid sats to not be included in the COP calculations. --- libgpsd_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libgpsd_core.c') 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 || -- cgit v1.2.1