mirror of
https://github.com/thelsing/knx.git
synced 2025-08-22 13:46:21 +02:00
fixed tipo: RepititionAllowed
This commit is contained in:
parent
f8dc031486
commit
4932b85c8b
@ -219,12 +219,12 @@ void CemiFrame::frameType(FrameFormat type)
|
||||
|
||||
Repetition CemiFrame::repetition() const
|
||||
{
|
||||
return (Repetition)(_ctrl1[0] & RepititionAllowed);
|
||||
return (Repetition)(_ctrl1[0] & RepetitionAllowed);
|
||||
}
|
||||
|
||||
void CemiFrame::repetition(Repetition rep)
|
||||
{
|
||||
_ctrl1[0] &= ~RepititionAllowed;
|
||||
_ctrl1[0] &= ~RepetitionAllowed;
|
||||
_ctrl1[0] |= rep;
|
||||
}
|
||||
|
||||
|
@ -126,7 +126,7 @@ bool DataLinkLayer::sendTelegram(NPDU & npdu, AckType ack, uint16_t destinationA
|
||||
frame.sourceAddress(sourceAddr);
|
||||
frame.addressType(addrType);
|
||||
frame.priority(priority);
|
||||
frame.repetition(RepititionAllowed);
|
||||
frame.repetition(RepetitionAllowed);
|
||||
frame.systemBroadcast(systemBroadcast);
|
||||
|
||||
if (npdu.octetCount() <= 15)
|
||||
|
@ -95,7 +95,7 @@ enum Repetition
|
||||
{
|
||||
NoRepitiion = 0,
|
||||
WasRepeated = 0,
|
||||
RepititionAllowed = 0x20,
|
||||
RepetitionAllowed = 0x20,
|
||||
WasNotRepeated = 0x20,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user