discard used bytes without the offset

This commit is contained in:
Kevin Matz 2023-04-09 20:07:41 -04:00
parent 4c0bf5ded8
commit 7663b84ec5

View File

@ -109,7 +109,8 @@ void DmxWidget::parseMessageBuffer()
msg->iStream(stream);
// ship it
routeRxMessage(msg);
fast_forward(length + fixed_length - 1); // discard processed bytes
// discard processed bytes
fast_forward(length + fixed_length);
}
}