From a2af88f65c730fa29e31a3d6e80cc111d1fbd430 Mon Sep 17 00:00:00 2001 From: Tom Rondeau <trondeau@vt.edu> Date: Wed, 12 Oct 2011 17:34:35 -0400 Subject: digital: I didn't think this was needed, but apparently, it is. --- gr-digital/examples/narrowband/receive_path.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gr-digital/examples/narrowband/receive_path.py') diff --git a/gr-digital/examples/narrowband/receive_path.py b/gr-digital/examples/narrowband/receive_path.py index 92c77173ed..1c5e58963c 100644 --- a/gr-digital/examples/narrowband/receive_path.py +++ b/gr-digital/examples/narrowband/receive_path.py @@ -121,6 +121,9 @@ class receive_path(gr.hier_block2): """ Adds receiver-specific options to the Options Parser """ + if not normal.has_option("--bitrate"): + normal.add_option("-r", "--bitrate", type="eng_float", default=100e3, + help="specify bitrate [default=%default].") normal.add_option("-v", "--verbose", action="store_true", default=False) expert.add_option("-S", "--samples-per-symbol", type="float", default=2, help="set samples/symbol [default=%default]") -- cgit v1.2.3