mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 10:04:33 +02:00
Adjustments to rigctld arguments
This commit is contained in:
parent
916c2a4a63
commit
fc055671cb
|
@ -244,7 +244,7 @@ class radio:
|
|||
|
||||
# Serial DCD and DTR
|
||||
if not should_ignore(config.get('serial_dcd')):
|
||||
args += ['--set-dcd', config['serial_dcd']]
|
||||
args += ['--dcd-type', config['serial_dcd']]
|
||||
if not should_ignore(config.get('serial_dtr')):
|
||||
args += ['--set-conf', f'dtr_state={config["serial_dtr"]}']
|
||||
|
||||
|
@ -255,6 +255,8 @@ class radio:
|
|||
args += ['--set-conf', f'stop_bits={config["stop_bits"]}']
|
||||
|
||||
# Fixme #rts_state
|
||||
if not should_ignore(config.get('rts_state')):
|
||||
args += ['--set-conf', f'stop_bits={config["rts_state"]}']
|
||||
|
||||
# Handle custom arguments for rigctld
|
||||
# Custom args are split via ' ' so python doesn't add extranaeous quotes on windows
|
||||
|
|
Loading…
Reference in a new issue