waiting before sending data

This commit is contained in:
DJ2LS 2021-05-14 09:28:27 +02:00 committed by GitHub
parent 883e65fc5d
commit 0c7795e2e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)