Skip to content

Commit

Permalink
fixed WiFiMulti if secure connection is enabled 1technophile#934
Browse files Browse the repository at this point in the history
  • Loading branch information
Legion2 committed May 24, 2021
1 parent 295d39b commit 3a2e88e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main/main.ino
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ static bool esp32EthConnected = false;
WiFiClientSecure eClient;
# else
# include <WiFi.h>
# include <WiFiMulti.h>
WiFiMulti wifiMulti;
WiFiClient eClient;
# endif
# include <WiFiMulti.h>
WiFiMulti wifiMulti;
# include <Preferences.h>
# include <WiFiManager.h>
Preferences preferences;
Expand All @@ -214,8 +214,8 @@ WiFiClientSecure eClient;
X509List caCert(certificate);
# else
WiFiClient eClient;
ESP8266WiFiMulti wifiMulti;
# endif
ESP8266WiFiMulti wifiMulti;
# ifdef MDNS_SD
# include <ESP8266mDNS.h>
# endif
Expand Down

0 comments on commit 3a2e88e

Please sign in to comment.