mirror of
https://github.com/thelsing/knx.git
synced 2025-08-13 13:46:20 +02:00
solves #178 bugfix when sending frames > 63 byte, missing masking of upper bits after sending a U_DataOffset
This commit is contained in:
parent
53425e2ef7
commit
7910bd886a
@ -594,7 +594,7 @@ bool TpUartDataLinkLayer::sendSingleFrameByte()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (_TxByteCnt != _sendBufferLength - 1)
|
if (_TxByteCnt != _sendBufferLength - 1)
|
||||||
cmd[0] = U_L_DATA_START_CONT_REQ | _TxByteCnt;
|
cmd[0] = U_L_DATA_START_CONT_REQ | (_TxByteCnt % 64);
|
||||||
else
|
else
|
||||||
cmd[0] = U_L_DATA_END_REQ | _TxByteCnt;
|
cmd[0] = U_L_DATA_END_REQ | _TxByteCnt;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user