Fixing a few bugs in handling of real samples per symbol.
[debian/gnuradio] / gnuradio-examples / python / digital / transmit_path.py
index ba0c434da27e67e30ec7b194e3595f06588c6478..86ebf75c3e87b70482f5a110b7dc664450ee16f3 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=None,
+        expert.add_option("-S", "--samples-per-symbol", type="float", 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)")