Merge pull request #248 from OpenKNX/fix-functionPropRead

fix wrong functionPropertyState handling
This commit is contained in:
thelsing
2023-06-16 11:17:18 +02:00
committed by GitHub

View File

@@ -353,8 +353,8 @@ void BauSystemB::functionPropertyStateIndication(Priority priority, HopCountType
handled = true;
}
} else {
if(_functionProperty != 0)
if(_functionProperty(objectIndex, propertyId, length, data, resultData, resultLength))
if(_functionPropertyState != 0)
if(_functionPropertyState(objectIndex, propertyId, length, data, resultData, resultLength))
handled = true;
}