fixed typo: frameRecieved

This commit is contained in:
Dominik Westner 2020-11-06 22:48:52 +01:00
parent 4932b85c8b
commit 455514b6ad
5 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ void DataLinkLayer::dataRequestFromTunnel(CemiFrame& frame)
frame.messageCode(L_data_ind); frame.messageCode(L_data_ind);
// Send to local stack // Send to local stack
frameRecieved(frame); frameReceived(frame);
// Send to KNX medium // Send to KNX medium
sendFrame(frame); sendFrame(frame);
@ -82,7 +82,7 @@ void DataLinkLayer::dataConReceived(CemiFrame& frame, bool success)
frame.messageCode(backupMsgCode); frame.messageCode(backupMsgCode);
} }
void DataLinkLayer::frameRecieved(CemiFrame& frame) void DataLinkLayer::frameReceived(CemiFrame& frame)
{ {
AckType ack = frame.ack(); AckType ack = frame.ack();
AddressType addrType = frame.addressType(); AddressType addrType = frame.addressType();

View File

@ -32,7 +32,7 @@ class DataLinkLayer
virtual DptMedium mediumType() const = 0; virtual DptMedium mediumType() const = 0;
protected: protected:
void frameRecieved(CemiFrame& frame); void frameReceived(CemiFrame& frame);
void dataConReceived(CemiFrame& frame, bool success); void dataConReceived(CemiFrame& frame, bool success);
bool sendTelegram(NPDU& npdu, AckType ack, uint16_t destinationAddr, AddressType addrType, uint16_t sourceAddr, FrameFormat format, Priority priority, SystemBroadcast systemBroadcast); bool sendTelegram(NPDU& npdu, AckType ack, uint16_t destinationAddr, AddressType addrType, uint16_t sourceAddr, FrameFormat format, Priority priority, SystemBroadcast systemBroadcast);
virtual bool sendFrame(CemiFrame& frame) = 0; virtual bool sendFrame(CemiFrame& frame) = 0;

View File

@ -58,7 +58,7 @@ void IpDataLinkLayer::loop()
case RoutingIndication: case RoutingIndication:
{ {
KnxIpRoutingIndication routingIndication(buffer, len); KnxIpRoutingIndication routingIndication(buffer, len);
frameRecieved(routingIndication.frame()); frameReceived(routingIndication.frame());
break; break;
} }
case SearchRequest: case SearchRequest:

View File

@ -233,7 +233,7 @@ void RfDataLinkLayer::frameBytesReceived(uint8_t* rfPacketBuf, uint16_t length)
print(" data: "); print(" data: ");
printHex(" data: ", _buffer, newLength); printHex(" data: ", _buffer, newLength);
*/ */
frameRecieved(frame); frameReceived(frame);
} }
} }
} }

View File

@ -424,7 +424,7 @@ void TpUartDataLinkLayer::frameBytesReceived(uint8_t* buffer, uint16_t length)
//printHex("=>", buffer, length); //printHex("=>", buffer, length);
CemiFrame frame(buffer, length); CemiFrame frame(buffer, length);
frameRecieved(frame); frameReceived(frame);
} }
void TpUartDataLinkLayer::dataConBytesReceived(uint8_t* buffer, uint16_t length, bool success) void TpUartDataLinkLayer::dataConBytesReceived(uint8_t* buffer, uint16_t length, bool success)