[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r4181 - gnuradio/branches/developers/n4hy/ofdm/gnuradi
From: |
trondeau |
Subject: |
[Commit-gnuradio] r4181 - gnuradio/branches/developers/n4hy/ofdm/gnuradio-examples/python/ofdm |
Date: |
Thu, 21 Dec 2006 11:49:26 -0700 (MST) |
Author: trondeau
Date: 2006-12-21 11:49:26 -0700 (Thu, 21 Dec 2006)
New Revision: 4181
Modified:
gnuradio/branches/developers/n4hy/ofdm/gnuradio-examples/python/ofdm/ofdm.py
Log:
changed mtu type to int to prvent break later on
Modified:
gnuradio/branches/developers/n4hy/ofdm/gnuradio-examples/python/ofdm/ofdm.py
===================================================================
---
gnuradio/branches/developers/n4hy/ofdm/gnuradio-examples/python/ofdm/ofdm.py
2006-12-21 03:12:28 UTC (rev 4180)
+++
gnuradio/branches/developers/n4hy/ofdm/gnuradio-examples/python/ofdm/ofdm.py
2006-12-21 18:49:26 UTC (rev 4181)
@@ -46,7 +46,7 @@
self.ofdm = gr.ofdm_bpsk_mapper(self._mtu, self._occupied_tones,
self._fft_length)
self.ifft = gr.fft_vcc(self._fft_length, False, win, True)
self.cp_adder = gr.ofdm_cyclic_prefixer(self._fft_length,
symbol_length)
-
+
if options.verbose:
self._print_verbage()
@@ -67,7 +67,7 @@
"""
Adds OFDM-specific options to the Options Parser
"""
- expert.add_option("", "--mtu", type="eng_float", default=1500,
+ expert.add_option("", "--mtu", type="int", default=1500,
help="set maximum transmit unit [default=%default]")
expert.add_option("", "--fft-length", type="intx", default=512,
help="set the number of FFT bins [default=%default]")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r4181 - gnuradio/branches/developers/n4hy/ofdm/gnuradio-examples/python/ofdm,
trondeau <=