fix wrong functionPropertyState handling

This commit is contained in:
thewhobox 2023-06-14 21:30:27 +02:00
parent 245b82e627
commit e1596ebaf4

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