Fix rate setting for devices with <4Msps rates (RTL).

This commit is contained in:
Nick Foster
2014-09-21 19:03:16 -07:00
parent cc0fa1801b
commit 6f11777724
2 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class rx_path(gr.hier_block2):
# Convert incoming I/Q baseband to amplitude
self._demod = blocks.complex_to_mag_squared()
if use_dcblock:
self._dcblock = filter.dc_blocker_cc(100*self._spc,True)
self._dcblock = filter.dc_blocker_cc(100*self._spc,False)
self.connect(self, self._dcblock, self._demod)
else:
self.connect(self, self._demod)