summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2014-07-17 17:45:12 -0700
committerBen Hilburn <ben.hilburn@ettus.com>2014-07-17 17:45:12 -0700
commitdde82ff238b6fbdd2c49d62bf4ba75ef26cfbca8 (patch)
tree353bf673df9f8cf66f38f8f9a2f035a774782350 /host
parentdf4cf6d6ecab4a11171183fca55b3aa3f011ed43 (diff)
parent24aaac8e3f25a6d52cd11645e1f4b4533fa3d2fc (diff)
downloaduhd-dde82ff238b6fbdd2c49d62bf4ba75ef26cfbca8.tar.gz
uhd-dde82ff238b6fbdd2c49d62bf4ba75ef26cfbca8.tar.bz2
uhd-dde82ff238b6fbdd2c49d62bf4ba75ef26cfbca8.zip
Merge branch 'origin/n200/bug527' into maint
Fixing issue with 50 MSps resulting in two tones for N200.
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/cores/rx_dsp_core_200.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/cores/rx_dsp_core_200.cpp b/host/lib/usrp/cores/rx_dsp_core_200.cpp
index 2fdc220b5..2e5ca8e7a 100644
--- a/host/lib/usrp/cores/rx_dsp_core_200.cpp
+++ b/host/lib/usrp/cores/rx_dsp_core_200.cpp
@@ -176,7 +176,8 @@ public:
//determine which half-band filters are activated
int hb0 = 0, hb1 = 0;
- if (decim % 2 == 0){
+ // hb0 can only be enabled if the rate will be decimated by at least 2 between the CIC and hb1
+ if (decim >= 4 && decim % 2 == 0){
hb0 = 1;
decim /= 2;
}