Skip to content

Commit a6bef66

Browse files
committed
Adapt to new dowload API call.
1 parent 52177d5 commit a6bef66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArduinoIoTCloudTCP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ void ArduinoIoTCloudTCP::onOTARequest()
497497
remove("/fs/UPDATE.BIN.LZSS");
498498

499499
/* Download the OTA file from the web storage location. */
500-
int const ota_portenta_qspi_download_ret_code = ota_portenta_qspi.download((char*)(_ota_url.c_str()));
500+
int const ota_portenta_qspi_download_ret_code = ota_portenta_qspi.download((char*)(_ota_url.c_str()), true /* is_https */);
501501
DEBUG_VERBOSE("Arduino_Portenta_OTA_QSPI::download(%s) returns %d", _ota_url.c_str(), ota_portenta_qspi_download_ret_code);
502502

503503
/* Decompress the LZSS compressed OTA file. */

0 commit comments

Comments
 (0)