We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aaa91d2 + 4ca5f9d commit 2324319Copy full SHA for 2324319
src/cpx.c
@@ -80,7 +80,7 @@ void cpxSendPacketBlocking(CPXPacket_t * packet, uint32_t size) {
80
ASSERT((packet->route.function >> 8) == 0);
81
ASSERT(size <= MTU - CPX_HEADER_SIZE);*/
82
83
- txp.length = (uint8_t) size + CPX_HEADER_SIZE;
+ txp.length = (uint16_t) size + CPX_HEADER_SIZE;
84
txp.cpxDst = packet->route.destination;
85
txp.cpxSrc = packet->route.source;
86
txp.cpxFunc = packet->route.function;
0 commit comments