summaryrefslogtreecommitdiff
path: root/gr-analog/python/nbfm_rx.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-11-06 12:25:58 -0500
committerTom Rondeau <trondeau@vt.edu>2012-11-06 12:27:40 -0500
commit463b962fe280c5515947498b4d0f4fd3b5993662 (patch)
tree1671d8bad8132113813cc8a9f1c14d0e1c16ef3c /gr-analog/python/nbfm_rx.py
parent55eb2dbfc38ce4287c7408bf9a87c6b56a618d1f (diff)
analog: Removing all squelch blocks from gnuradio-core.
Also updating some Python blocks and examples to properly pull from filter and analog.
Diffstat (limited to 'gr-analog/python/nbfm_rx.py')
-rw-r--r--gr-analog/python/nbfm_rx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-analog/python/nbfm_rx.py b/gr-analog/python/nbfm_rx.py
index e87cc84796..b2c86db70f 100644
--- a/gr-analog/python/nbfm_rx.py
+++ b/gr-analog/python/nbfm_rx.py
@@ -64,7 +64,7 @@ class nbfm_rx(gr.hier_block2):
raise ValueError, "quad_rate is not an integer multiple of audio_rate"
squelch_threshold = 20 # dB
- #self.squelch = gr.simple_squelch_cc(squelch_threshold, 0.001)
+ #self.squelch = analog.simple_squelch_cc(squelch_threshold, 0.001)
# FM Demodulator input: complex; output: float
k = quad_rate/(2*math.pi*max_dev)
@@ -79,7 +79,7 @@ class nbfm_rx(gr.hier_block2):
quad_rate, # sampling rate
2.7e3, # Audio LPF cutoff
0.5e3, # Transition band
- gr.firdes.WIN_HAMMING) # filter type
+ filter.firdes.WIN_HAMMING) # filter type
print "len(audio_taps) =", len(audio_taps)