Update group_object.cpp

This commit is contained in:
thelsing 2019-06-12 16:02:10 +02:00 committed by GitHub
parent 29c7bae17f
commit f65be5ee3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,7 +195,7 @@ void GroupObject::value(const KNXValue& value, const Dpt& type)
KNXValue GroupObject::value(const Dpt& type) KNXValue GroupObject::value(const Dpt& type)
{ {
KNXValue value = 0; KNXValue value = "";
KNX_Decode_Value(_data, _dataLength, type, value); KNX_Decode_Value(_data, _dataLength, type, value);
return value; return value;
} }