mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
tx delay delay optimisation when opening data channel
This commit is contained in:
parent
4217218d4d
commit
7871ffb3a7
1 changed files with 1 additions and 1 deletions
|
@ -2078,7 +2078,7 @@ class DATA:
|
|||
|
||||
self.enqueue_frame_for_tx([connection_frame], c2_mode=FREEDV_MODE.datac0.value, copies=1, repeat_delay=0)
|
||||
|
||||
timeout = time.time() + 3
|
||||
timeout = time.time() + 3 + (static.TX_DELAY/1000 * 2)
|
||||
while time.time() < timeout:
|
||||
threading.Event().wait(0.01)
|
||||
# Stop waiting if data channel is opened
|
||||
|
|
Loading…
Reference in a new issue