fix translateAsap (bugfix by bernator)

This commit is contained in:
Thomas Kunze 2018-11-05 21:58:16 +01:00
parent 6f73473da2
commit aaf6c27584

View File

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