diff options
Diffstat (limited to 'gr-pager/src/usrp_flex_all.py')
-rwxr-xr-x | gr-pager/src/usrp_flex_all.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gr-pager/src/usrp_flex_all.py b/gr-pager/src/usrp_flex_all.py index 8e29eeee6..daee3532c 100755 --- a/gr-pager/src/usrp_flex_all.py +++ b/gr-pager/src/usrp_flex_all.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() |