mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
only set IS_CODEC2_TRAFFIC if not TESTMODE
This commit is contained in:
parent
0dee69b671
commit
e6e2319f43
1 changed files with 3 additions and 1 deletions
|
@ -649,7 +649,9 @@ class RF:
|
||||||
rx_status = codec2.api.freedv_get_rx_status(freedv)
|
rx_status = codec2.api.freedv_get_rx_status(freedv)
|
||||||
|
|
||||||
if rx_status != 0:
|
if rx_status != 0:
|
||||||
static.IS_CODEC2_TRAFFIC = True
|
# we need to disable this if in testmode as its causing problems with FIFO it seems
|
||||||
|
if not TESTMODE:
|
||||||
|
static.IS_CODEC2_TRAFFIC = True
|
||||||
|
|
||||||
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]
|
||||||
|
|
Loading…
Reference in a new issue