mirror of
https://github.com/thelsing/knx.git
synced 2025-01-30 00:19:01 +01:00
Remove unnecessary check
This commit is contained in:
parent
d315aee70e
commit
7c7d0d0b5b
@ -26,7 +26,7 @@ void InterfaceObject::readPropertyDescription(uint8_t& propertyId, uint8_t& prop
|
|||||||
{
|
{
|
||||||
// If propertyId is zero, propertyIndex shall be used.
|
// If propertyId is zero, propertyIndex shall be used.
|
||||||
// Response: propertyIndex of received A_PropertyDescription_Read
|
// Response: propertyIndex of received A_PropertyDescription_Read
|
||||||
if (propertyIndex >= 0 && propertyIndex < count)
|
if (propertyIndex < count)
|
||||||
{
|
{
|
||||||
desc = &descriptions[propertyIndex];
|
desc = &descriptions[propertyIndex];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user