bugfix Extended Frame Format TX

This commit is contained in:
Bernhard 2019-08-09 16:56:17 +02:00
parent 65f213264a
commit 77f41c98e7

View File

@ -235,7 +235,7 @@ void TpUartDataLinkLayer::loop()
//Destination Address + payload available
_xorSum ^= rxByte;
//check if echo
if (!((buffer[0] ^ _sendBuffer[0]) & ~0x20) && !memcmp(buffer + 2, _sendBuffer + 1, 5))
if (!((buffer[0] ^ _sendBuffer[0]) & ~0x20) && !memcmp(buffer + _convert + 1, _sendBuffer + 1, 5))
{ //ignore repeated bit of control byte
_isEcho = true;
}