mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed hamlib ptt
thanks @frspin, I tested it with hamlib 4.3 and it seems to be working
This commit is contained in:
parent
71be19ecc4
commit
2896514517
1 changed files with 2 additions and 2 deletions
|
@ -194,9 +194,9 @@ class radio:
|
||||||
|
|
||||||
def set_ptt(self, state):
|
def set_ptt(self, state):
|
||||||
if state:
|
if state:
|
||||||
self.my_rig.set_ptt(self.hamlib_ptt_type, 1)
|
self.my_rig.set_ptt(Hamlib.RIG_VFO_CURR, 1)
|
||||||
else:
|
else:
|
||||||
self.my_rig.set_ptt(self.hamlib_ptt_type, 0)
|
self.my_rig.set_ptt(Hamlib.RIG_VFO_CURR, 0)
|
||||||
return state
|
return state
|
||||||
|
|
||||||
def close_rig(self):
|
def close_rig(self):
|
||||||
|
|
Loading…
Reference in a new issue