summaryrefslogtreecommitdiff
path: root/gps.h
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 /gps.h
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 'gps.h')
-rw-r--r--gps.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gps.h b/gps.h
index 6ed827da..6fba46b9 100644
--- a/gps.h
+++ b/gps.h
@@ -112,15 +112,6 @@ struct gps_fix_t {
};
/*
- * Satellite ID classes.
- * According to IS-GPS-200 Revision H paragraph 6.3.6, and earlier revisions
- * at least back to E, the upper bound of U.S. GPS PRNs is actually 64. However,
- * NMEA0183 only allocates 1-32 for U.S. GPS IDs; it uses 33-64 for IDs ub the
- * SBAS range.
- */
-#define SBAS_PRN(n) ((n) >= 120 && ((n) <= 158)) /* Satellite Based Augmentation System (eg GAGAN)*/
-
-/*
* Other GNSS birds reuse GPS PRNs.
* It is an NMEA0183 convention to map them to pseudo-PRNs 65..437.
* Very dependent on NMEA version.