aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Anderseck <martin.anderseck@ni.com>2021-12-02 10:56:08 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2021-12-03 11:33:26 -0800
commitf249b73036ce55b3beecad94cd0f362b6a2b8b5d (patch)
treebf52f23e124552729822a3f0e4c57d0ecf02dc40 /host
parent74d25ea88a810e4d440b5497c3a5eeb97be8ff90 (diff)
downloaduhd-f249b73036ce55b3beecad94cd0f362b6a2b8b5d.tar.gz
uhd-f249b73036ce55b3beecad94cd0f362b6a2b8b5d.tar.bz2
uhd-f249b73036ce55b3beecad94cd0f362b6a2b8b5d.zip
max287x: Fix key in table of freq ranges
The keys for the table of frequency ranges for each VCO value counts up consecutively but key "1" was there twice while "2" was missing. This is fixed here.
Diffstat (limited to 'host')
-rw-r--r--host/lib/include/uhdlib/usrp/common/max287x.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/include/uhdlib/usrp/common/max287x.hpp b/host/lib/include/uhdlib/usrp/common/max287x.hpp
index de3db9b4b..84d8b710e 100644
--- a/host/lib/include/uhdlib/usrp/common/max287x.hpp
+++ b/host/lib/include/uhdlib/usrp/common/max287x.hpp
@@ -298,7 +298,7 @@ static const vco_map_t max2871_vco_map =
boost::assign::map_list_of
(0,uhd::range_t(2767776024.0,2838472816.0))
(1,uhd::range_t(2838472816.0,2879070053.0))
- (1,uhd::range_t(2879070053.0,2921202504.0))
+ (2,uhd::range_t(2879070053.0,2921202504.0))
(3,uhd::range_t(2921202504.0,2960407579.0))
(4,uhd::range_t(2960407579.0,3001687422.0))
(5,uhd::range_t(3001687422.0,3048662562.0))