mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
rigctld hotfix
This commit is contained in:
parent
03cc026965
commit
8d74566b6c
2 changed files with 5 additions and 5 deletions
|
@ -45,7 +45,7 @@ const serialStore = useSerialStore();
|
||||||
@change="onChange"
|
@change="onChange"
|
||||||
v-model.number="settings.remote.RADIO.model_id"
|
v-model.number="settings.remote.RADIO.model_id"
|
||||||
>
|
>
|
||||||
<option selected value="-- ignore --">-- ignore --</option>
|
<option selected value="0">-- ignore --</option>
|
||||||
<option value="1">Hamlib Dummy</option>
|
<option value="1">Hamlib Dummy</option>
|
||||||
<option value="2">Hamlib NET rigctl</option>
|
<option value="2">Hamlib NET rigctl</option>
|
||||||
<option value="4">FLRig FLRig</option>
|
<option value="4">FLRig FLRig</option>
|
||||||
|
|
|
@ -299,13 +299,13 @@ class radio:
|
||||||
|
|
||||||
# PTT Port and Type
|
# PTT Port and Type
|
||||||
if not should_ignore(config.get('ptt_port')):
|
if not should_ignore(config.get('ptt_port')):
|
||||||
args += ['--ptt-port', config['ptt_port']]
|
args += ['-p', config['ptt_port']]
|
||||||
if not should_ignore(config.get('ptt_type')):
|
if not should_ignore(config.get('ptt_type')):
|
||||||
args += ['--ptt-type', config['ptt_type']]
|
args += ['-P', config['ptt_type']]
|
||||||
|
|
||||||
# Serial DCD and DTR
|
# Serial DCD and DTR
|
||||||
if not should_ignore(config.get('serial_dcd')):
|
if not should_ignore(config.get('serial_dcd')):
|
||||||
args += ['--dcd-type', config['serial_dcd']]
|
args += ['-D', config['serial_dcd']]
|
||||||
|
|
||||||
if not should_ignore(config.get('serial_dtr')):
|
if not should_ignore(config.get('serial_dtr')):
|
||||||
args += ['--set-conf', f'dtr_state={config["serial_dtr"]}']
|
args += ['--set-conf', f'dtr_state={config["serial_dtr"]}']
|
||||||
|
@ -323,7 +323,7 @@ class radio:
|
||||||
# Handle custom arguments for rigctld
|
# Handle custom arguments for rigctld
|
||||||
# Custom args are split via ' ' so python doesn't add extranaeous quotes on windows
|
# Custom args are split via ' ' so python doesn't add extranaeous quotes on windows
|
||||||
args += config_rigctld["arguments"].split(" ")
|
args += config_rigctld["arguments"].split(" ")
|
||||||
#print("Hamlib args ==>" + str(args))
|
print("Hamlib args ==>" + str(args))
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue