mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
adjustment to is writing
This commit is contained in:
parent
db7fb33d44
commit
0b4d87d6a3
1 changed files with 2 additions and 1 deletions
|
@ -2820,6 +2820,7 @@ class DATA:
|
|||
static.FREQ_OFFSET,
|
||||
static.HAMLIB_FREQUENCY,
|
||||
)
|
||||
|
||||
def received_is_writing(self, data_in: bytes) -> None:
|
||||
"""
|
||||
Called when we receive a IS WRITING frame
|
||||
|
@ -3274,7 +3275,7 @@ class DATA:
|
|||
|
||||
# send burst only if channel not busy - but without waiting
|
||||
# otherwise burst will be dropped
|
||||
if not static.CHANNEL_BUSY:
|
||||
if not static.CHANNEL_BUSY and not static.TRANSMITTING:
|
||||
self.enqueue_frame_for_tx(
|
||||
frame_to_tx=[fec_frame], c2_mode=codec2.FREEDV_MODE["datac0"].value
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue