summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/hier/digital/benchmark_rx.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-examples/python/hier/digital/benchmark_rx.py')
-rwxr-xr-xgnuradio-examples/python/hier/digital/benchmark_rx.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/gnuradio-examples/python/hier/digital/benchmark_rx.py b/gnuradio-examples/python/hier/digital/benchmark_rx.py
index 669d5618e..c92d487bd 100755
--- a/gnuradio-examples/python/hier/digital/benchmark_rx.py
+++ b/gnuradio-examples/python/hier/digital/benchmark_rx.py
@@ -95,12 +95,7 @@ def main():
# Create an instance of a hierarchical block
top_block = receive_path(demods[options.modulation], rx_callback, options)
-
- # Create an instance of a runtime, passing it the top block
- runtime = gr.runtime(top_block)
- runtime.start()
-
- runtime.wait() # wait for it to finish
+ top_block.run()
if __name__ == '__main__':
try: