mirror of
https://github.com/thelsing/knx.git
synced 2025-01-02 00:06:43 +01:00
Fix Error Detected in Pipeline: Build knx-demo
This commit is contained in:
parent
e9541a9e76
commit
0b33f0d67e
@ -291,7 +291,8 @@ bool GroupObject::valueNoSendCompare(const KNXValue& value, const Dpt& type)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// convert new value to given dtp
|
// convert new value to given dtp
|
||||||
uint8_t newData[_dataLength] = {0};
|
uint8_t newData[_dataLength];
|
||||||
|
memset(newData, 0, _dataLength);
|
||||||
KNX_Encode_Value(value, newData, _dataLength, type);
|
KNX_Encode_Value(value, newData, _dataLength, type);
|
||||||
|
|
||||||
// check for change in converted value / update value on change only
|
// check for change in converted value / update value on change only
|
||||||
|
Loading…
Reference in New Issue
Block a user