summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/hier/dect
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-examples/python/hier/dect')
-rwxr-xr-xgnuradio-examples/python/hier/dect/usrp_dect.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/gnuradio-examples/python/hier/dect/usrp_dect.py b/gnuradio-examples/python/hier/dect/usrp_dect.py
index bf562e0d9..27259d812 100755
--- a/gnuradio-examples/python/hier/dect/usrp_dect.py
+++ b/gnuradio-examples/python/hier/dect/usrp_dect.py
@@ -51,13 +51,9 @@ def main():
# Create an instance of a hierarchical block
top_block = dect_receiver(options)
- # 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