playing around with hamlib

still problems with PTT type for RTS
This commit is contained in:
dj2ls 2021-12-26 10:22:02 +01:00
parent a408a561cb
commit 71453bf390

View file

@ -68,10 +68,10 @@ class radio:
self.my_rig.set_conf("serial_handshake", "None")
self.my_rig.set_conf("stop_bits", "1")
self.my_rig.set_conf("data_bits", "8")
if self.hamlib_ptt_type == 'RIG':
self.hamlib_ptt_type = Hamlib.RIG_PTT_RIG
self.my_rig.set_conf("ptt_type", 'RIG')
elif self.hamlib_ptt_type == 'DTR-H':
self.hamlib_ptt_type = Hamlib.RIG_PTT_SERIAL_DTR