aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common/lmx2592.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/common/lmx2592.cpp')
-rw-r--r--host/lib/usrp/common/lmx2592.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/usrp/common/lmx2592.cpp b/host/lib/usrp/common/lmx2592.cpp
index 3f71fb04c..4a6cef887 100644
--- a/host/lib/usrp/common/lmx2592.cpp
+++ b/host/lib/usrp/common/lmx2592.cpp
@@ -151,6 +151,12 @@ public:
// Find the largest possible divider
auto output_divider_index = 0;
for (auto limit : LMX2592_CHDIV_MIN_FREQ) {
+ // The second harmonic level is very bad when using the div-by-3
+ // Skip and let the div-by-4 cover the range
+ if (LMX2592_CHDIV_DIVIDERS[output_divider_index] == 3) {
+ output_divider_index++;
+ continue;
+ }
if (target_freq < limit) {
output_divider_index++;
} else {