Skip to content

Commit

Permalink
Fix Error Detected in Pipeline: Build knx-demo
Browse files Browse the repository at this point in the history
  • Loading branch information
cornelius-koepp committed Jan 7, 2024
1 parent e9541a9 commit 0b33f0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/knx/group_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@ bool GroupObject::valueNoSendCompare(const KNXValue& value, const Dpt& type)
else
{
// 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);

// check for change in converted value / update value on change only
Expand Down

0 comments on commit 0b33f0d

Please sign in to comment.