1
0
Fork 0

extra bytes for unsigned math

This commit is contained in:
Kevin Matz 2021-09-02 13:46:56 -04:00
parent 6ade2e1ef6
commit 3ea916d61e
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ void Receiver::dataFrameHandler(ACN::PDU::Message<DATA::Pdu> frame) {
auto b = source->sequence_number;
if (!(a == 0 && b == 0))
{
int8_t dif = b - a;
int dif = b - a;
if (dif <= 0 && dif > -20)
return;
}