Comment out the advanced config (#60)
Indeed should be commented per default thanks
This commit is contained in:
1 parent
89e1d6fbd8
commit
484da9ff50
1 file changed
+2
-1
+2
-1
@@ -184,7 +184,7 @@ void setup_wifi() {
|
||||
IPAddress subnet_adress(subnet);
|
||||
IPAddress dns_adress(Dns);
|
||||
WiFi.begin(wifi_ssid, wifi_password);
|
||||
WiFi.config(ip_adress,gateway_adress,subnet_adress); //Uncomment this line if you want to use advanced network config
|
||||
//WiFi.config(ip_adress,gateway_adress,subnet_adress); //Uncomment this line if you want to use advanced network config
|
||||
trc(F("OpenMQTTGateway ip adress: "));
|
||||
Serial.println(WiFi.localIP());
|
||||
|
||||
@@ -219,6 +219,7 @@ void loop()
|
||||
} else { //connected
|
||||
// MQTT loop
|
||||
client.loop();
|
||||
|
||||
#ifdef ESP8266
|
||||
ArduinoOTA.handle();
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user