20
This commit is contained in:
parent
c4c95b2a3b
commit
2fa3bbf647
@ -662,7 +662,7 @@ TcpLogic_BuildAndSendTemperatureFrame(TcpTxBuffer_t *io_buffer,
|
|||||||
We can't easily prepend headers to later fragments inline. */
|
We can't easily prepend headers to later fragments inline. */
|
||||||
|
|
||||||
uint32_t offset = 0;
|
uint32_t offset = 0;
|
||||||
uint8_t frag_buf[HEADER_SIZE + MAX_FRAGMENT_PAYLOAD + CRC_SIZE];
|
static uint8_t frag_buf[HEADER_SIZE + MAX_FRAGMENT_PAYLOAD + CRC_SIZE];
|
||||||
uint32_t frag_count =
|
uint32_t frag_count =
|
||||||
(total_tlv_len + MAX_FRAGMENT_PAYLOAD - 1) / MAX_FRAGMENT_PAYLOAD;
|
(total_tlv_len + MAX_FRAGMENT_PAYLOAD - 1) / MAX_FRAGMENT_PAYLOAD;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user