Added new setInsecure call for PAX.express OTA

This commit is contained in:
Michael Solinski 2021-03-17 11:46:35 +01:00 committed by Florian Ludwig
parent a6c631db24
commit a03220dd1f

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");