dv_tx - add check for dstar cfg file

max
Max 5 years ago
parent 1fc2df5ac1
commit dd9bc87c86
  1. 4
      op25/gr-op25_repeater/apps/tx/dv_tx.py

@ -107,8 +107,8 @@ class my_top_block(gr.top_block):
print 'protocol [-p] option missing'
sys.exit(0)
if options.protocol == 'ysf' or options.protocol == 'dmr':
assert options.config_file # dmr and ysf require config file ("-c FILENAME" option)
if options.protocol == 'ysf' or options.protocol == 'dmr' or options.protocol == 'dstar':
assert options.config_file # dstar, dmr and ysf require config file ("-c FILENAME" option)
output_gain = output_gains[options.protocol]

Loading…
Cancel
Save