summaryrefslogtreecommitdiff
path: root/gr-digital/examples/ofdm
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/examples/ofdm')
-rw-r--r--gr-digital/examples/ofdm/receive_path.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-digital/examples/ofdm/receive_path.py b/gr-digital/examples/ofdm/receive_path.py
index b5094ac24d..2a6813f8f9 100644
--- a/gr-digital/examples/ofdm/receive_path.py
+++ b/gr-digital/examples/ofdm/receive_path.py
@@ -22,6 +22,7 @@
from gnuradio import gr
from gnuradio import eng_notation
from gnuradio import digital
+from gnuradio import analog
import copy
import sys
@@ -51,7 +52,7 @@ class receive_path(gr.hier_block2):
# Carrier Sensing Blocks
alpha = 0.001
thresh = 30 # in dB, will have to adjust
- self.probe = gr.probe_avg_mag_sqrd_c(thresh,alpha)
+ self.probe = analog.probe_avg_mag_sqrd_c(thresh,alpha)
self.connect(self, self.ofdm_rx)
self.connect(self.ofdm_rx, self.probe)