summaryrefslogtreecommitdiff
path: root/gps
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2017-01-19 19:03:25 -0800
committerFred Wright <fw@fwright.net>2017-01-19 19:03:25 -0800
commitb6f7daade9563dc009d2e61816bd69538d845b49 (patch)
tree2d9603e739d9c035c8f1098d73946775316352d9 /gps
parenta849277d3bd54aacf22df6c3ea1bf3b1c3054e6d (diff)
downloadgpsd-b6f7daade9563dc009d2e61816bd69538d845b49.tar.gz
Updates MAXCHANNELS in gps.py to match gps.h.
This value is only provided as a convenience, and has no internal function at all. It was never updated to reflect the two increases in gps.h. The new value would be excessive for xgps, but that no longer uses this definition. TESTED: No point.
Diffstat (limited to 'gps')
-rwxr-xr-xgps/gps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps/gps.py b/gps/gps.py
index 1c223ae5..d6188c7c 100755
--- a/gps/gps.py
+++ b/gps/gps.py
@@ -69,7 +69,7 @@ STATUS_DGPS_FIX = 2
MODE_NO_FIX = 1
MODE_2D = 2
MODE_3D = 3
-MAXCHANNELS = 20
+MAXCHANNELS = 72 # Copied from gps.h, but not required to match
SIGNAL_STRENGTH_UNKNOWN = NaN
WATCH_ENABLE = 0x000001 # enable streaming