only set IS_CODEC2_TRAFFIC if not TESTMODE

This commit is contained in:
DJ2LS 2023-01-29 12:51:06 +01:00
parent 0dee69b671
commit e6e2319f43

View file

@ -649,6 +649,8 @@ class RF:
rx_status = codec2.api.freedv_get_rx_status(freedv)
if rx_status != 0:
# 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(