diff options
Diffstat (limited to 'gnuradio-examples/python/hier/usrp')
-rwxr-xr-x | gnuradio-examples/python/hier/usrp/usrp_siggen.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gnuradio-examples/python/hier/usrp/usrp_siggen.py b/gnuradio-examples/python/hier/usrp/usrp_siggen.py index f1eb2a6bc..91a7a7aff 100755 --- a/gnuradio-examples/python/hier/usrp/usrp_siggen.py +++ b/gnuradio-examples/python/hier/usrp/usrp_siggen.py @@ -119,11 +119,9 @@ def main (): top_block = my_graph(options.type, options.amplitude, options.waveform_freq, options.offset, options.tx_subdev_spec, options.interp, options.rf_freq) - runtime = gr.runtime(top_block) - try: # Run forever - runtime.run() + top_block.run() except KeyboardInterrupt: # Ctrl-C exits pass |