FIX issue introduced with #194

- if go handler writes to same go, value is not sent to bus anymore
This commit is contained in:
Waldemar Porscha 2022-04-21 16:35:34 +02:00
parent 29702f69c3
commit cae65d0f48

View File

@ -128,6 +128,7 @@ void BauSystemBDevice::updateGroupObject(GroupObject & go, uint8_t * data, uint8
if (go.commFlag() != WriteRequest)
{
go.commFlag(Updated);
#ifdef SMALL_GROUPOBJECT
GroupObject::processClassCallback(go);
#else
@ -136,8 +137,11 @@ void BauSystemBDevice::updateGroupObject(GroupObject & go, uint8_t * data, uint8
handler(go);
#endif
}
else
{
go.commFlag(Updated);
}
}
bool BauSystemBDevice::configured()
{