fixed hamlib ptt

thanks @frspin, I tested it with hamlib 4.3 and it seems to be working
This commit is contained in:
dj2ls 2022-01-05 12:01:32 +01:00
parent 71be19ecc4
commit 2896514517

View file

@ -194,9 +194,9 @@ class radio:
def set_ptt(self, state):
if state:
self.my_rig.set_ptt(self.hamlib_ptt_type, 1)
self.my_rig.set_ptt(Hamlib.RIG_VFO_CURR, 1)
else:
self.my_rig.set_ptt(self.hamlib_ptt_type, 0)
self.my_rig.set_ptt(Hamlib.RIG_VFO_CURR, 0)
return state
def close_rig(self):