We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7076c27 commit c9dea0fCopy full SHA for c9dea0f
src/ArduinoIoTCloudTCP.cpp
@@ -506,9 +506,6 @@ void ArduinoIoTCloudTCP::onOTARequest()
506
DEBUG_ERROR("Arduino_Portenta_OTA_QSPI::decompress() failed with %d", ota_portenta_qspi_decompress_ret_code);
507
return;
508
}
509
- /* Set the correct update size. */
510
- size_t const update_file_size = ota_portenta_qspi_decompress_ret_code;
511
- ota_portenta_qspi.setUpdateLen(update_file_size);
512
513
/* Schedule the firmware update. */
514
if((ota_portenta_err = ota_portenta_qspi.update()) != Arduino_Portenta_OTA::Error::None) {
0 commit comments