summaryrefslogtreecommitdiff
path: root/gr-digital/examples/narrowband/benchmark_rx.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/examples/narrowband/benchmark_rx.py')
-rwxr-xr-xgr-digital/examples/narrowband/benchmark_rx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-digital/examples/narrowband/benchmark_rx.py b/gr-digital/examples/narrowband/benchmark_rx.py
index ce47bf87b8..622773aac5 100755
--- a/gr-digital/examples/narrowband/benchmark_rx.py
+++ b/gr-digital/examples/narrowband/benchmark_rx.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2010,2011 Free Software Foundation, Inc.
+# Copyright 2010,2011,2013 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -61,7 +61,7 @@ class my_top_block(gr.top_block):
self.source = blocks.file_source(gr.sizeof_gr_complex, options.from_file)
else:
sys.stderr.write("No source defined, pulling samples from null source.\n\n")
- self.source = gr.null_source(gr.sizeof_gr_complex)
+ self.source = blocks.null_source(gr.sizeof_gr_complex)
# Set up receive path
# do this after for any adjustments to the options that may