diff options
Diffstat (limited to 'gnuradio-examples/python/hier/audio')
-rwxr-xr-x | gnuradio-examples/python/hier/audio/dial_tone2.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gnuradio-examples/python/hier/audio/dial_tone2.py b/gnuradio-examples/python/hier/audio/dial_tone2.py index a5010faa5..70d1e53d2 100755 --- a/gnuradio-examples/python/hier/audio/dial_tone2.py +++ b/gnuradio-examples/python/hier/audio/dial_tone2.py @@ -60,13 +60,9 @@ if __name__ == '__main__': options.audio_output, options.amplitude) - # Create an instance of a runtime, passing it the top block - # to process - runtime = gr.runtime(top) - try: # Run forever - runtime.run() + top.run() except KeyboardInterrupt: # Ctrl-C exits pass |