diff options
Diffstat (limited to 'gr-digital')
-rw-r--r-- | gr-digital/examples/narrowband/receive_path.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-digital/examples/narrowband/receive_path.py b/gr-digital/examples/narrowband/receive_path.py index 92c77173e..1c5e58963 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]") |