Skip to content

Commit c9dea0f

Browse files
committed
Eliminating no longer existing API setUpdateLen.
1 parent 7076c27 commit c9dea0f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/ArduinoIoTCloudTCP.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,9 +506,6 @@ void ArduinoIoTCloudTCP::onOTARequest()
506506
DEBUG_ERROR("Arduino_Portenta_OTA_QSPI::decompress() failed with %d", ota_portenta_qspi_decompress_ret_code);
507507
return;
508508
}
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);
512509

513510
/* Schedule the firmware update. */
514511
if((ota_portenta_err = ota_portenta_qspi.update()) != Arduino_Portenta_OTA::Error::None) {

0 commit comments

Comments
 (0)