also masked U_L_DATA_END_REQ correctly

This commit is contained in:
SirSydom 2022-02-22 21:10:39 +01:00
parent 7910bd886a
commit 681f9218d0

View File

@ -596,7 +596,7 @@ bool TpUartDataLinkLayer::sendSingleFrameByte()
if (_TxByteCnt != _sendBufferLength - 1)
cmd[0] = U_L_DATA_START_CONT_REQ | (_TxByteCnt % 64);
else
cmd[0] = U_L_DATA_END_REQ | _TxByteCnt;
cmd[0] = U_L_DATA_END_REQ | (_TxByteCnt % 64);
cmd[1] = _sendBuffer[_TxByteCnt];
#ifdef DBG_TRACE