diff options
author | Tom Rondeau | 2011-10-12 17:34:35 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-10-12 17:34:35 -0400 |
commit | a2af88f65c730fa29e31a3d6e80cc111d1fbd430 (patch) | |
tree | 6be5678f54eeb1b1633560508d415319dd2d0a58 /gr-digital/examples/narrowband/receive_path.py | |
parent | 9edab7aec9c59ad56956d19c34539f26aec069af (diff) | |
download | gnuradio-a2af88f65c730fa29e31a3d6e80cc111d1fbd430.tar.gz gnuradio-a2af88f65c730fa29e31a3d6e80cc111d1fbd430.tar.bz2 gnuradio-a2af88f65c730fa29e31a3d6e80cc111d1fbd430.zip |
digital: I didn't think this was needed, but apparently, it is.
Diffstat (limited to 'gr-digital/examples/narrowband/receive_path.py')
-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]") |