mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
updated ARQ_TX_N_TOTAL_ARQ_FRAMES
This commit is contained in:
parent
03420b2c72
commit
0045ec3107
1 changed files with 4 additions and 4 deletions
|
@ -325,12 +325,12 @@ class RF():
|
|||
static.ARQ_TX_N_CURRENT_ARQ_FRAME = n_current_arq_frame.to_bytes(2, byteorder='big')
|
||||
|
||||
n_total_arq_frame = len(static.TX_BUFFER)
|
||||
static.ARQ_TX_N_TOTAL_ARQ_FRAMES = n_total_arq_frame.to_bytes(2, byteorder='big')
|
||||
static.ARQ_TX_N_TOTAL_ARQ_FRAMES = n_total_arq_frame
|
||||
|
||||
arqframe = frame_type + \
|
||||
bytes([static.ARQ_TX_N_FRAMES_PER_BURST]) + \
|
||||
static.ARQ_TX_N_CURRENT_ARQ_FRAME + \
|
||||
static.ARQ_TX_N_TOTAL_ARQ_FRAMES + \
|
||||
static.n_total_arq_frame.to_bytes(2, byteorder='big') + \
|
||||
static.DXCALLSIGN_CRC8 + \
|
||||
static.MYCALLSIGN_CRC8 + \
|
||||
payload_data
|
||||
|
@ -368,12 +368,12 @@ class RF():
|
|||
static.ARQ_TX_N_CURRENT_ARQ_FRAME = n_current_arq_frame.to_bytes(2, byteorder='big')
|
||||
|
||||
n_total_arq_frame = len(static.TX_BUFFER)
|
||||
static.ARQ_TX_N_TOTAL_ARQ_FRAMES = n_total_arq_frame.to_bytes(2, byteorder='big')
|
||||
static.ARQ_TX_N_TOTAL_ARQ_FRAMES = n_total_arq_frame
|
||||
|
||||
arqframe = frame_type + \
|
||||
bytes([static.ARQ_TX_N_FRAMES_PER_BURST]) + \
|
||||
static.ARQ_TX_N_CURRENT_ARQ_FRAME + \
|
||||
static.ARQ_TX_N_TOTAL_ARQ_FRAMES + \
|
||||
static.n_total_arq_frame.to_bytes(2, byteorder='big') + \
|
||||
static.DXCALLSIGN_CRC8 + \
|
||||
static.MYCALLSIGN_CRC8 + \
|
||||
payload_data
|
||||
|
|
Loading…
Reference in a new issue