mirror of
https://github.com/thelsing/knx.git
synced 2025-08-13 13:46:20 +02:00
changes to be compatible with async data_link_layer again
This commit is contained in:
parent
4402605608
commit
893df4779a
@ -36,6 +36,7 @@ bool IpDataLinkLayer::sendFrame(CemiFrame& frame)
|
||||
bool success = sendBytes(buffer, length);
|
||||
// only send 50 packet per second: see KNX 3.2.6 p.6
|
||||
_platform.mdelay(20);
|
||||
dataConReceived(frame, success);
|
||||
delete[] buffer;
|
||||
return success;
|
||||
}
|
||||
@ -101,4 +102,4 @@ bool IpDataLinkLayer::sendBytes(uint8_t* bytes, uint16_t length)
|
||||
return false;
|
||||
|
||||
return _platform.sendBytes(bytes, length);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user