release IS_CODEC2_TRAFFIC if not rx_status

This commit is contained in:
DJ2LS 2023-01-29 12:58:46 +01:00
parent e6e2319f43
commit 4f753e911e

View file

@ -656,6 +656,8 @@ class RF:
self.log.debug( 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] "[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: if rx_status == 10:
state_buffer.append(rx_status) state_buffer.append(rx_status)