diff --git a/tnc/modem.py b/tnc/modem.py index 5f4cbd3b..59b3e0b6 100644 --- a/tnc/modem.py +++ b/tnc/modem.py @@ -335,7 +335,12 @@ class RF: while True: threading.Event().wait(0.01) - if len(self.modoutqueue) > 0 and not self.mod_out_locked: + if len(self.modoutqustatic.PTT_STATEeue) > 0 and not self.mod_out_locked: + = self.radio.set_ptt(True) + jsondata = {"ptt": "True"} + data_out = json.dumps(jsondata) + sock.SOCKET_QUEUE.put(data_out) + data_out = self.modoutqueue.popleft() self.tci_module.push_audio(data_out)