There is a tiny error in the file 'gps-sdr-sim-uhd.py'.

The function 'interleaved_short_to_complex' only need one parameter in my environment - Python 2.7.6 & GNU Radio 3.7.2.1.
This commit is contained in:
TempoLau 2016-07-22 10:51:33 +08:00 committed by GitHub
parent fe5fd36811
commit 52ba05c5ad

View File

@ -38,7 +38,7 @@ class top_block(gr.top_block):
self.blocks_char_to_short = blocks.char_to_short(1) self.blocks_char_to_short = blocks.char_to_short(1)
# convert from interleaved short to complex values # convert from interleaved short to complex values
self.blocks_interleaved_short_to_complex = blocks.interleaved_short_to_complex(False, False) self.blocks_interleaved_short_to_complex = blocks.interleaved_short_to_complex(False)
# establish the connections # establish the connections
self.connect((self.blocks_file_source, 0), (self.blocks_char_to_short, 0)) self.connect((self.blocks_file_source, 0), (self.blocks_char_to_short, 0))