diff options
Diffstat (limited to 'gnuradio-examples/python/ofdm/fftshift.py')
-rwxr-xr-x | gnuradio-examples/python/ofdm/fftshift.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnuradio-examples/python/ofdm/fftshift.py b/gnuradio-examples/python/ofdm/fftshift.py index 6b355326c6..98abf5d4ba 100755 --- a/gnuradio-examples/python/ofdm/fftshift.py +++ b/gnuradio-examples/python/ofdm/fftshift.py @@ -2,9 +2,9 @@ from gnuradio import gr -class my_graph(gr.flow_graph): +class my_top_block(gr.top_block): def __init__(self): - gr.flow_graph.__init__(self) + gr.top_block.__init__(self) length = 101 @@ -32,9 +32,9 @@ class my_graph(gr.flow_graph): def main(): - fg = my_graph() - fg.start() - fg.wait() + tb = my_top_block() + tb.start() + tb.wait() if __name__ == "__main__": try: |