mirror of
https://github.com/thelsing/knx.git
synced 2025-08-22 13:46:21 +02:00
NULL to nullptr
This commit is contained in:
parent
e230fa79ab
commit
8bb8d4ba76
@ -245,7 +245,7 @@ void TpUartDataLinkLayer::loop()
|
||||
//Destination Address + payload available
|
||||
_xorSum ^= rxByte;
|
||||
//check if echo
|
||||
if (_sendBuffer != NULL && (!((buffer[0] ^ _sendBuffer[0]) & ~0x20) && !memcmp(buffer + _convert + 1, _sendBuffer + 1, 5)))
|
||||
if (_sendBuffer != nullptr && (!((buffer[0] ^ _sendBuffer[0]) & ~0x20) && !memcmp(buffer + _convert + 1, _sendBuffer + 1, 5)))
|
||||
{ //ignore repeated bit of control byte
|
||||
_isEcho = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user