read the full length of remaining data
This commit is contained in:
parent
67e84624ee
commit
c3bc6dc44e
@ -139,7 +139,8 @@ void MsgSetWidgetParametersRequest::oStream(std::shared_ptr<bufferstream> stream
|
|||||||
void MsgRecievedDmxPacket::iStream(std::shared_ptr<bufferstream> stream)
|
void MsgRecievedDmxPacket::iStream(std::shared_ptr<bufferstream> stream)
|
||||||
{
|
{
|
||||||
*stream >> rx_errors;
|
*stream >> rx_errors;
|
||||||
stream->read(data.data(), DMX::E111_LAST_SLOT + 1);
|
data.resize(stream->available());
|
||||||
|
stream->read(data.data(), stream->available());
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user