mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
adjusted ptt trigger for tci
This commit is contained in:
parent
7ee409c4ac
commit
a8e4e1ee2f
|
@ -335,8 +335,8 @@ class RF:
|
|||
while True:
|
||||
threading.Event().wait(0.01)
|
||||
|
||||
if len(self.modoutqustatic.PTT_STATEeue) > 0 and not self.mod_out_locked:
|
||||
= self.radio.set_ptt(True)
|
||||
if len(self.modoutqueue) > 0 and not self.mod_out_locked:
|
||||
static.PTT_STATE = self.radio.set_ptt(True)
|
||||
jsondata = {"ptt": "True"}
|
||||
data_out = json.dumps(jsondata)
|
||||
sock.SOCKET_QUEUE.put(data_out)
|
||||
|
|
Loading…
Reference in a new issue