Refactor Packet API
Declare setData member as protected Rename 'setTempData' to 'setDataToValidate'
This commit is contained in:
parent
6a8702f4e1
commit
a70dee6605
4 changed files with 11 additions and 6 deletions
|
@ -77,7 +77,7 @@ namespace create {
|
|||
packetBytes += byteRead;
|
||||
}
|
||||
if (numDataBytesRead >= expectedNumDataBytes) {
|
||||
data->getPacket(packetID)->setTempData(packetBytes);
|
||||
data->getPacket(packetID)->setDataToValidate(packetBytes);
|
||||
if (numBytesRead >= expectedNumBytes)
|
||||
readState = READ_CHECKSUM;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue