bugfix SW update
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2022-11-10 13:08:17 +01:00
parent 3be45b32ef
commit a2b0e53301
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -416,12 +416,14 @@ ReturnValue_t PlocSupvHelper::writeUpdatePackets() {
update.bytesWritten); update.bytesWritten);
return result; return result;
} }
result = encodeAndSendPacket(packet.getFullPacket(), packet.getFullPacketLen()); result = handlePacketTransmissionNoReply(packet);
//result = encodeAndSendPacket(packet.getFullPacket(), packet.getFullPacketLen());
if (result != returnvalue::OK) { if (result != returnvalue::OK) {
triggerEvent(WRITE_MEMORY_FAILED, buildProgParams1(progPercent, update.sequenceCount), triggerEvent(WRITE_MEMORY_FAILED, buildProgParams1(progPercent, update.sequenceCount),
update.bytesWritten); update.bytesWritten);
return result; return result;
} }
update.sequenceCount++; update.sequenceCount++;
update.packetNum += 1; update.packetNum += 1;
update.bytesWritten += dataLength; update.bytesWritten += dataLength;