We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9edccd commit 1c2e88fCopy full SHA for 1c2e88f
src/ota/interface/OTAInterfaceDefault.cpp
@@ -120,7 +120,7 @@ OTACloudProcessInterface::State OTADefaultCloudProcessInterface::fetch() {
120
// this could distinguish between consistency of the downloaded bytes and filesize
121
122
// validate CRC
123
- arduino::crc32::finalize(context->calculatedCrc32);
+ context->calculatedCrc32 = arduino::crc32::finalize(context->calculatedCrc32);
124
if(context->header.header.crc32 == context->calculatedCrc32) {
125
DEBUG_VERBOSE("Ota download completed successfully");
126
res = FlashOTA;
0 commit comments