From 4f753e911e0623d79b735dc8609b08eb40f192e6 Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Sun, 29 Jan 2023 12:58:46 +0100 Subject: [PATCH] release IS_CODEC2_TRAFFIC if not rx_status --- tnc/modem.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tnc/modem.py b/tnc/modem.py index 0a26b5b7..e6002163 100644 --- a/tnc/modem.py +++ b/tnc/modem.py @@ -656,6 +656,8 @@ class RF: self.log.debug( "[MDM] [demod_audio] modem state", mode=mode_name, rx_status=rx_status, sync_flag=codec2.api.rx_sync_flags_to_text[rx_status] ) + else: + static.IS_CODEC2_TRAFFIC = False if rx_status == 10: state_buffer.append(rx_status)