v1.14.0 #304
@ -140,6 +140,7 @@ ReturnValue_t PlocSupvHelper::performUpdate(std::string file, uint8_t memoryId,
|
|||||||
update.startAddress = startAddress;
|
update.startAddress = startAddress;
|
||||||
update.progressPercent = 0;
|
update.progressPercent = 0;
|
||||||
update.bytesWritten = startBytesWritten;
|
update.bytesWritten = startBytesWritten;
|
||||||
|
update.crcShouldBeChecked = true;
|
||||||
update.packetNum = 1;
|
update.packetNum = 1;
|
||||||
update.sequenceCount = initSeqCount;
|
update.sequenceCount = initSeqCount;
|
||||||
internalState = InternalState::UPDATE;
|
internalState = InternalState::UPDATE;
|
||||||
|
@ -169,8 +169,7 @@ class PlocSupvHelper : public SystemObject, public ExecutableObjectIF, public Ha
|
|||||||
// Size of update
|
// Size of update
|
||||||
uint32_t length;
|
uint32_t length;
|
||||||
uint32_t crc;
|
uint32_t crc;
|
||||||
bool crcShouldBeChecked = false;
|
bool crcShouldBeChecked = true;
|
||||||
// size_t remainingSize;
|
|
||||||
size_t bytesWritten;
|
size_t bytesWritten;
|
||||||
uint32_t packetNum;
|
uint32_t packetNum;
|
||||||
uint16_t sequenceCount;
|
uint16_t sequenceCount;
|
||||||
|
Loading…
Reference in New Issue
Block a user