mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
waiting before sending data
This commit is contained in:
parent
883e65fc5d
commit
0c7795e2e6
1 changed files with 4 additions and 2 deletions
|
@ -524,8 +524,10 @@ def open_dc_and_transmit(data_out, mode, n_frames):
|
||||||
static.ARQ_START_OF_TRANSMISSION = int(time.time())
|
static.ARQ_START_OF_TRANSMISSION = int(time.time())
|
||||||
|
|
||||||
|
|
||||||
# lets wait a little bit
|
# lets wait a little bit so RX station is ready for receiving
|
||||||
#time.sleep(5)
|
wait_before_data_timer = time.time() + 0.5
|
||||||
|
while time.time() < wait_before_data_timer:
|
||||||
|
pass
|
||||||
|
|
||||||
# transmit data
|
# transmit data
|
||||||
arq_transmit(data_out)
|
arq_transmit(data_out)
|
||||||
|
|
Loading…
Reference in a new issue