summaryrefslogtreecommitdiff
path: root/gr-pager/src/usrp_flex_band.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-pager/src/usrp_flex_band.py')
-rwxr-xr-xgr-pager/src/usrp_flex_band.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/gr-pager/src/usrp_flex_band.py b/gr-pager/src/usrp_flex_band.py
index 69b0dbf80..7f494191d 100755
--- a/gr-pager/src/usrp_flex_band.py
+++ b/gr-pager/src/usrp_flex_band.py
@@ -76,10 +76,9 @@ def main():
queue = gr.msg_queue()
tb = app_top_block(options, queue)
- r = gr.runtime(tb)
try:
- r.start()
+ tb.start()
while 1:
if not queue.empty_p():
msg = queue.delete_head() # Blocking read
@@ -96,7 +95,7 @@ def main():
time.sleep(1)
except KeyboardInterrupt:
- r.stop()
+ tb.stop()
if __name__ == "__main__":
main()