Fixes pick_bitrate2 for use on receiver side.
[debian/gnuradio] / gnuradio-examples / python / digital / receive_path.py
index 7aeeedab0999b6853aea6c2537c337530dade822..7df945ed00474c05dbcb5d9a5467e273d4bff30c 100644 (file)
@@ -119,7 +119,7 @@ class receive_path(gr.hier_block2):
             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="int", default=2,
+        expert.add_option("-S", "--samples-per-symbol", type="int", default=None,
                           help="set samples/symbol [default=%default]")
         expert.add_option("", "--log", action="store_true", default=False,
                           help="Log all parts of flow graph to files (CAUTION: lots of data)")