multi_tx: 2 bugfixes

This commit is contained in:
Max 2018-01-14 11:09:19 -05:00
parent 25ae933b47
commit ee399ed962
1 changed files with 3 additions and 2 deletions

View File

@ -61,10 +61,11 @@ class pipeline(gr.hier_block2):
alt_input = self
self.connect(alt_input, ENCODER2, (DMR, 1))
elif protocol == 'dstar':
ENCODER = op25_repeater.dstar_tx_sb(verbose, None)
assert config_file
ENCODER = op25_repeater.dstar_tx_sb(verbose, config_file)
elif protocol == 'p25':
ENCODER = op25_repeater.vocoder(True, # 0=Decode,True=Encode
0, # Verbose flag
False, # Verbose flag
0, # flex amount
"", # udp ip address
0, # udp port