aboutsummaryrefslogtreecommitdiffstats
path: root/gr-uhd
diff options
context:
space:
mode:
authorAdrien Michel <adriengit@users.noreply.github.com>2021-08-04 22:58:30 +0200
committermormj <34754695+mormj@users.noreply.github.com>2021-08-05 06:21:47 -0400
commitb538984ef32c20825a88a10e388039984abeaaa2 (patch)
tree915252037443b1f19ef21602f2f3d9a544342686 /gr-uhd
parentiio: Remove struct specifier (not necessary in C++, clutters a bit) (diff)
downloadgnuradio-b538984ef32c20825a88a10e388039984abeaaa2.tar.xz
gnuradio-b538984ef32c20825a88a10e388039984abeaaa2.zip
gr-uhd: fix input filename in freq hopping examples
Signed-off-by: Adrien Michel <adriengit@users.noreply.github.com>
Diffstat (limited to 'gr-uhd')
-rwxr-xr-xgr-uhd/examples/python/freq_hopping.py2
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 91af7e9d1..8fd65aade 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