Fix: Typo

This commit is contained in:
Cornelius Köpp 2024-11-01 19:29:16 +01:00
parent 9a7b6a5e80
commit 3de8903b52

View File

@ -298,7 +298,7 @@ bool GroupObject::valueNoSendCompare(const KNXValue& value, const Dpt& type)
}
else
{
// convert new value to given dtp
// convert new value to given DPT
uint8_t newData[_dataLength];
memset(newData, 0, _dataLength);
const bool encodingDone = KNX_Encode_Value(value, newData, _dataLength, type);