Fixing pick_bitrate2 for transmit side with all cases tested.
[debian/gnuradio] / gnuradio-examples / python / digital / transmit_path.py
index a23f8d191788beeae606a38cd4cc83a8193318f4..ba0c434da27e67e30ec7b194e3595f06588c6478 100644 (file)
@@ -99,7 +99,7 @@ class transmit_path(gr.hier_block2):
                           help="set transmitter digital amplitude: 0 <= AMPL < 1 [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 file (CAUTION: lots of data)")