mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
playing around with hamlib
still problems with PTT type for RTS
This commit is contained in:
parent
a408a561cb
commit
71453bf390
1 changed files with 1 additions and 1 deletions
|
@ -69,9 +69,9 @@ class radio:
|
||||||
self.my_rig.set_conf("stop_bits", "1")
|
self.my_rig.set_conf("stop_bits", "1")
|
||||||
self.my_rig.set_conf("data_bits", "8")
|
self.my_rig.set_conf("data_bits", "8")
|
||||||
|
|
||||||
|
|
||||||
if self.hamlib_ptt_type == 'RIG':
|
if self.hamlib_ptt_type == 'RIG':
|
||||||
self.hamlib_ptt_type = Hamlib.RIG_PTT_RIG
|
self.hamlib_ptt_type = Hamlib.RIG_PTT_RIG
|
||||||
|
self.my_rig.set_conf("ptt_type", 'RIG')
|
||||||
|
|
||||||
elif self.hamlib_ptt_type == 'DTR-H':
|
elif self.hamlib_ptt_type == 'DTR-H':
|
||||||
self.hamlib_ptt_type = Hamlib.RIG_PTT_SERIAL_DTR
|
self.hamlib_ptt_type = Hamlib.RIG_PTT_SERIAL_DTR
|
||||||
|
|
Loading…
Reference in a new issue