From 0b33f0d67e57390a64c9f3b70c4bcf09099f3e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20K=C3=B6pp?= Date: Sun, 7 Jan 2024 20:18:02 +0100 Subject: [PATCH] Fix Error Detected in Pipeline: Build knx-demo --- src/knx/group_object.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/knx/group_object.cpp b/src/knx/group_object.cpp index 3ade6c51..b7c74d80 100644 --- a/src/knx/group_object.cpp +++ b/src/knx/group_object.cpp @@ -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