mirror of
https://github.com/thelsing/knx.git
synced 2025-08-03 13:48:15 +02:00
Review: changed ntohs to htons
This commit is contained in:
parent
48b92797ac
commit
f9f9914130
@ -38,7 +38,7 @@ uint16_t AddressTableObject::getTsap(uint16_t addr)
|
||||
{
|
||||
uint16_t size = entryCount();
|
||||
#ifdef USE_BINSEARCH
|
||||
addr = ntohs(addr);
|
||||
addr = htons(addr);
|
||||
|
||||
uint16_t low,high,i;
|
||||
low = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user