adjusted ptt trigger for tci

This commit is contained in:
DJ2LS 2023-03-29 08:45:23 +02:00
parent 7ee409c4ac
commit a8e4e1ee2f

View file

@ -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)