changes to be compatible with async data_link_layer again

This commit is contained in:
Bernhard 2019-07-14 11:33:10 +02:00
parent 4402605608
commit 893df4779a

View File

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