summaryrefslogtreecommitdiff
path: root/gr-digital/examples/ofdm/benchmark_ofdm_tx.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/examples/ofdm/benchmark_ofdm_tx.py')
-rwxr-xr-xgr-digital/examples/ofdm/benchmark_ofdm_tx.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gr-digital/examples/ofdm/benchmark_ofdm_tx.py b/gr-digital/examples/ofdm/benchmark_ofdm_tx.py
index 02bbeb971..fb4d97302 100755
--- a/gr-digital/examples/ofdm/benchmark_ofdm_tx.py
+++ b/gr-digital/examples/ofdm/benchmark_ofdm_tx.py
@@ -20,12 +20,14 @@
# Boston, MA 02110-1301, USA.
#
-from gnuradio import gr, blks2
+from gnuradio import gr
from gnuradio import eng_notation
from gnuradio.eng_option import eng_option
from optparse import OptionParser
import time, struct, sys
+from gnuradio import digital
+
# from current dir
from transmit_path import transmit_path
from uhd_interface import uhd_transmitter
@@ -75,7 +77,7 @@ def main():
help="Output file for modulated samples")
transmit_path.add_options(parser, expert_grp)
- blks2.ofdm_mod.add_options(parser, expert_grp)
+ digital.ofdm_mod.add_options(parser, expert_grp)
uhd_transmitter.add_options(parser)
(options, args) = parser.parse_args ()