mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
updated transmission progress for TX
This commit is contained in:
parent
f52d0ea452
commit
f0a392be16
1 changed files with 2 additions and 1 deletions
|
@ -170,7 +170,8 @@ def calculate_transfer_rate():
|
||||||
|
|
||||||
# PERCENTAGE FOR TRANSMITTING
|
# PERCENTAGE FOR TRANSMITTING
|
||||||
if static.TX_BUFFER_SIZE > 0:
|
if static.TX_BUFFER_SIZE > 0:
|
||||||
static.ARQ_TRANSMISSION_PERCENT = int(arq_rx_n_current_arq_frame / static.TX_BUFFER_SIZE) * 100
|
print("static.ARQ_N_SENT_FRAMES: " + str(static.ARQ_N_SENT_FRAMES))
|
||||||
|
static.ARQ_TRANSMISSION_PERCENT = int((static.ARQ_N_SENT_FRAMES / static.TX_BUFFER_SIZE) * 100)
|
||||||
|
|
||||||
# PERCENTAGE FOR RECEIVING
|
# PERCENTAGE FOR RECEIVING
|
||||||
elif arq_n_arq_frames_per_data_frame > 0:
|
elif arq_n_arq_frames_per_data_frame > 0:
|
||||||
|
|
Loading…
Reference in a new issue