diff options
author | Adrien Michel <adriengit@users.noreply.github.com> | 2021-08-04 22:58:30 +0200 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-08-05 06:21:47 -0400 |
commit | b538984ef32c20825a88a10e388039984abeaaa2 (patch) | |
tree | 915252037443b1f19ef21602f2f3d9a544342686 /gr-uhd/examples/python | |
parent | 60580c0f485aa6790bc8d19c5d76bd3fc0e3d0cc (diff) |
gr-uhd: fix input filename in freq hopping examples
Signed-off-by: Adrien Michel <adriengit@users.noreply.github.com>
Diffstat (limited to 'gr-uhd/examples/python')
-rwxr-xr-x | gr-uhd/examples/python/freq_hopping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-uhd/examples/python/freq_hopping.py b/gr-uhd/examples/python/freq_hopping.py index 91af7e9d13..8fd65aade8 100755 --- a/gr-uhd/examples/python/freq_hopping.py +++ b/gr-uhd/examples/python/freq_hopping.py @@ -157,7 +157,7 @@ class FlowGraph(gr.top_block): def __init__(self, args): gr.top_block.__init__(self) if args.input_file is not None: - src = blocks.file_source(gr.sizeof_gr_complex, args.filename, repeat=True) + src = blocks.file_source(gr.sizeof_gr_complex, args.input_file, repeat=True) else: src = blocks.vector_source_c((.5,) * int(1e6) * 2, repeat=True) # Setup USRP |