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