diff options
Diffstat (limited to 'gnuradio-examples/python/hier/networking/vector_sink.py')
-rwxr-xr-x | gnuradio-examples/python/hier/networking/vector_sink.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gnuradio-examples/python/hier/networking/vector_sink.py b/gnuradio-examples/python/hier/networking/vector_sink.py index 05f3b0cbc1..981cc598b9 100755 --- a/gnuradio-examples/python/hier/networking/vector_sink.py +++ b/gnuradio-examples/python/hier/networking/vector_sink.py @@ -48,12 +48,9 @@ if __name__ == "__main__": # Create an instance of a hierarchical block top_block = vector_sink(options.src_name, options.src_port, options.packet_size) - # Create an instance of a runtime, passing it the top block - runtime = gr.runtime(top_block) - try: # Run forever - runtime.run() + top_block.run() except KeyboardInterrupt: # Ctrl-C exits pass |