summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/hier/usrp
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-examples/python/hier/usrp')
-rwxr-xr-xgnuradio-examples/python/hier/usrp/usrp_siggen.py4
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