Added new setInsecure call for PAX.express OTA

This commit is contained in:
Michael Solinski authored and Florian Ludwig committed 2021-03-17 12:01:32 +01:00
1 parent a6c631db24
commit a03220dd1f
1 file changed
+1 -1
+1 -1
View File
@@ -151,7 +151,7 @@ int do_ota_update() {
WiFiClientSecure client;
client.setTimeout(RESPONSE_TIMEOUT_MS);
client.setInsecure();
if (!client.connect(currentHost.c_str(), port)) {
ESP_LOGI(TAG, "Cannot connect to %s", currentHost.c_str());
ota_display(3, " E", "connection lost");