discard used bytes without the offset
This commit is contained in:
parent
4c0bf5ded8
commit
7663b84ec5
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user