mirror of
https://github.com/thelsing/knx.git
synced 2025-01-21 00:05:43 +01:00
fix translateAsap (bugfix by bernator)
This commit is contained in:
parent
6f73473da2
commit
aaf6c27584
@ -53,7 +53,7 @@ int32_t AssociationTableObject::translateAsap(uint16_t asap)
|
||||
uint16_t entries = entryCount();
|
||||
for (uint16_t i = 0; i < entries; i++)
|
||||
{
|
||||
uint16_t entry = ntohs(operator[](i));
|
||||
uint16_t entry = operator[](i);
|
||||
if (lowByte(entry) == asap)
|
||||
return highByte(entry);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user