aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Meserve <mark.meserve@ni.com>2017-02-03 17:37:20 -0600
committerMartin Braun <martin.braun@ettus.com>2017-02-20 17:39:02 -0800
commit16ccfe215b60dfaeb9210fc44f6264338fc4ee11 (patch)
tree0f93d8c788de9ffada117d1769ffedeecf5729b2
parent454307a8845a3bc697531df5fd2e245233ed5218 (diff)
downloaduhd-16ccfe215b60dfaeb9210fc44f6264338fc4ee11.tar.gz
uhd-16ccfe215b60dfaeb9210fc44f6264338fc4ee11.tar.bz2
uhd-16ccfe215b60dfaeb9210fc44f6264338fc4ee11.zip
Fix max values for MOD2 and FRAC2
-rw-r--r--host/lib/usrp/common/adf5355.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/common/adf5355.cpp b/host/lib/usrp/common/adf5355.cpp
index 80c300d47..36d41a5c3 100644
--- a/host/lib/usrp/common/adf5355.cpp
+++ b/host/lib/usrp/common/adf5355.cpp
@@ -47,8 +47,8 @@ static const double ADF5355_MIN_OUT_FREQ = (3.4e9 / 64);
static const double ADF5355_PHASE_RESYNC_TIME = 400e-6;
static const uint32_t ADF5355_MOD1 = 16777216;
-static const uint32_t ADF5355_MAX_MOD2 = 16384;
-static const uint32_t ADF5355_MAX_FRAC2 = 16384;
+static const uint32_t ADF5355_MAX_MOD2 = 16383;
+static const uint32_t ADF5355_MAX_FRAC2 = 16383;
//static const uint16_t ADF5355_MIN_INT_PRESCALER_89 = 75;
class adf5355_impl : public adf5355_iface