aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/cores
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2014-07-17 17:59:44 -0700
committerBen Hilburn <ben.hilburn@ettus.com>2014-07-17 17:59:44 -0700
commitbd2de9c6ccb48ef9fd18a9a4c431b1cae90c1032 (patch)
treeb9b351a42312752cbc92bced335665b4f18d9a60 /host/lib/usrp/cores
parentd99ce4ef99240778ec4d44f858d83b8af153cdf9 (diff)
parent1af6628eb1edf29dffae771b8f3ada6952a50b69 (diff)
downloaduhd-bd2de9c6ccb48ef9fd18a9a4c431b1cae90c1032.tar.gz
uhd-bd2de9c6ccb48ef9fd18a9a4c431b1cae90c1032.tar.bz2
uhd-bd2de9c6ccb48ef9fd18a9a4c431b1cae90c1032.zip
Merge remote-tracking branch 'origin/maint'
Diffstat (limited to 'host/lib/usrp/cores')
-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;
}