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
commit 1a0ac5aaf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}