diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2014-07-17 17:59:44 -0700 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2014-07-17 17:59:44 -0700 |
commit | bd2de9c6ccb48ef9fd18a9a4c431b1cae90c1032 (patch) | |
tree | b9b351a42312752cbc92bced335665b4f18d9a60 /host/lib/usrp/cores | |
parent | d99ce4ef99240778ec4d44f858d83b8af153cdf9 (diff) | |
parent | 1af6628eb1edf29dffae771b8f3ada6952a50b69 (diff) | |
download | uhd-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.cpp | 3 |
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; } |