diff options
Diffstat (limited to 'gnuradio-examples/python/hier/networking/dial_tone_source.py')
-rwxr-xr-x | gnuradio-examples/python/hier/networking/dial_tone_source.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gnuradio-examples/python/hier/networking/dial_tone_source.py b/gnuradio-examples/python/hier/networking/dial_tone_source.py index f092097d94..835f9aafcb 100755 --- a/gnuradio-examples/python/hier/networking/dial_tone_source.py +++ b/gnuradio-examples/python/hier/networking/dial_tone_source.py @@ -61,12 +61,9 @@ if __name__ == '__main__': top_block = dial_tone_source(options.src_name, options.dst_name, options.dst_port, options.packet_size, options.sample_rate) - # 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 |