mirror of
https://github.com/thelsing/knx.git
synced 2025-06-17 01:17:18 +02:00
move #endif
This commit is contained in:
parent
6ae000482f
commit
02a24ea3b8
@ -1,5 +1,5 @@
|
|||||||
#include "knx_ip_dib.h"
|
#include "knx_ip_dib.h"
|
||||||
|
#ifdef USE_IP
|
||||||
DIB::DIB(uint8_t* data) : _data(data)
|
DIB::DIB(uint8_t* data) : _data(data)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
@ -13,3 +13,4 @@ uint8_t DIB::length()
|
|||||||
{
|
{
|
||||||
return *_data;
|
return *_data;
|
||||||
}
|
}
|
||||||
|
#endif
|
@ -992,8 +992,6 @@ void delayMicroseconds(unsigned int howLong)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void LinuxPlatform::setupUniCast(uint32_t addr, uint16_t port, uint8_t type)
|
void LinuxPlatform::setupUniCast(uint32_t addr, uint16_t port, uint8_t type)
|
||||||
{
|
{
|
||||||
if (_unicastSocketFd >= 0)
|
if (_unicastSocketFd >= 0)
|
||||||
@ -1106,3 +1104,4 @@ uint32_t LinuxPlatform::currentDefaultGateway()
|
|||||||
{
|
{
|
||||||
return _defaultGateway;
|
return _defaultGateway;
|
||||||
}
|
}
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user