diff options
Diffstat (limited to 'gnuradio-examples/python/hier/sounder')
-rwxr-xr-x | gnuradio-examples/python/hier/sounder/usrp_sounder_rx.py | 3 | ||||
-rwxr-xr-x | gnuradio-examples/python/hier/sounder/usrp_sounder_tx.py | 6 |
2 files changed, 2 insertions, 7 deletions
diff --git a/gnuradio-examples/python/hier/sounder/usrp_sounder_rx.py b/gnuradio-examples/python/hier/sounder/usrp_sounder_rx.py index 54c612f62..6b85281ad 100755 --- a/gnuradio-examples/python/hier/sounder/usrp_sounder_rx.py +++ b/gnuradio-examples/python/hier/sounder/usrp_sounder_rx.py @@ -85,10 +85,9 @@ def main(): sys.exit(1) top_block = usrp_sounder_rx(options) - runtime = gr.runtime(top_block) try: - runtime.run() + top_block.run() except KeyboardInterrupt: pass diff --git a/gnuradio-examples/python/hier/sounder/usrp_sounder_tx.py b/gnuradio-examples/python/hier/sounder/usrp_sounder_tx.py index e7fc3f60b..ae531d510 100755 --- a/gnuradio-examples/python/hier/sounder/usrp_sounder_tx.py +++ b/gnuradio-examples/python/hier/sounder/usrp_sounder_tx.py @@ -99,13 +99,9 @@ def main(): options.verbose, options.degree, options.chip_rate, options.amplitude) - # Create an instance of a runtime, passing it the top block - # to process - runtime = gr.runtime(top_block) - try: # Run forever - runtime.run() + top_block.run() except KeyboardInterrupt: # Ctrl-C exits pass |