summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <ikj1234i@yahoo.com>2017-12-22 18:11:56 -0500
committerMax <ikj1234i@yahoo.com>2017-12-22 18:11:56 -0500
commitdd9bc87c86cad41cbb751f13ca01af081b0d0d83 (patch)
tree9d58a3f6f64cf27b9c6cd77366ba2e26850be20b
parent1fc2df5ac1baef135cb1f24a137e3c9754555a12 (diff)
dv_tx - add check for dstar cfg file
-rwxr-xr-xop25/gr-op25_repeater/apps/tx/dv_tx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/op25/gr-op25_repeater/apps/tx/dv_tx.py b/op25/gr-op25_repeater/apps/tx/dv_tx.py
index 7964190..e37dbd3 100755
--- a/op25/gr-op25_repeater/apps/tx/dv_tx.py
+++ b/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]