mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
renamed IS_CODEC2_SIG_TRAFFIC to IS_CODEC2_TRAFFIC
This commit is contained in:
parent
d67433962f
commit
0dee69b671
3 changed files with 4 additions and 4 deletions
|
@ -243,7 +243,7 @@ class DATA:
|
|||
# stuck in IRS
|
||||
#
|
||||
# send transmission queued information once
|
||||
if static.ARQ_STATE or static.IS_CODEC2_SIG_TRAFFIC:
|
||||
if static.ARQ_STATE or static.IS_CODEC2_TRAFFIC:
|
||||
self.log.debug(f"[TNC] TX DISPATCHER - waiting with processing command ", arq_state=static.ARQ_STATE)
|
||||
|
||||
self.send_data_to_socket_queue(
|
||||
|
@ -252,7 +252,7 @@ class DATA:
|
|||
status="queued",
|
||||
)
|
||||
# now stay in while loop until state released
|
||||
while static.ARQ_STATE or static.IS_CODEC2_SIG_TRAFFIC:
|
||||
while static.ARQ_STATE or static.IS_CODEC2_TRAFFIC:
|
||||
threading.Event().wait(0.01)
|
||||
|
||||
# Dispatch commands known to command_dispatcher
|
||||
|
|
|
@ -649,7 +649,7 @@ class RF:
|
|||
rx_status = codec2.api.freedv_get_rx_status(freedv)
|
||||
|
||||
if rx_status != 0:
|
||||
static.IS_CODEC2_SIG_TRAFFIC = True
|
||||
static.IS_CODEC2_TRAFFIC = True
|
||||
|
||||
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]
|
||||
|
|
|
@ -134,7 +134,7 @@ INFO: list = []
|
|||
# ------- CODEC2 SETTINGS
|
||||
TUNING_RANGE_FMIN: float = -50.0
|
||||
TUNING_RANGE_FMAX: float = 50.0
|
||||
IS_CODEC2_SIG_TRAFFIC: bool = False # true if we have codec2 signalling mode traffic on channel
|
||||
IS_CODEC2_TRAFFIC: bool = False # true if we have codec2 signalling mode traffic on channel
|
||||
|
||||
class FRAME_TYPE(Enum):
|
||||
"""Lookup for frame types"""
|
||||
|
|
Loading…
Reference in a new issue