summaryrefslogtreecommitdiff
path: root/gr-digital/examples/ofdm/receive_path.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/examples/ofdm/receive_path.py')
-rw-r--r--gr-digital/examples/ofdm/receive_path.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/gr-digital/examples/ofdm/receive_path.py b/gr-digital/examples/ofdm/receive_path.py
index 06c9fb27a..8807b0dc2 100644
--- a/gr-digital/examples/ofdm/receive_path.py
+++ b/gr-digital/examples/ofdm/receive_path.py
@@ -19,9 +19,10 @@
# Boston, MA 02110-1301, USA.
#
-from gnuradio import gr, blks2
+from gnuradio import gr
from gnuradio import eng_notation
from gnuradio import digital
+
import copy
import sys
@@ -44,8 +45,8 @@ class receive_path(gr.hier_block2):
self._rx_callback = rx_callback # this callback is fired when there's a packet available
# receiver
- self.ofdm_rx = blks2.ofdm_demod(options,
- callback=self._rx_callback)
+ self.ofdm_rx = digital.ofdm_demod(options,
+ callback=self._rx_callback)
# Carrier Sensing Blocks
alpha = 0.001