mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-06 05:21:22 +03:00
no need for the IP
This commit is contained in:
parent
25aa2cdc08
commit
148ec5579f
@ -50,7 +50,7 @@ void setup(void)
|
|||||||
// the fully-qualified domain name is "esp8266.local"
|
// the fully-qualified domain name is "esp8266.local"
|
||||||
// - second argument is the IP address to advertise
|
// - second argument is the IP address to advertise
|
||||||
// we send our IP address on the WiFi network
|
// we send our IP address on the WiFi network
|
||||||
if (!MDNS.begin("esp8266", WiFi.localIP())) {
|
if (!MDNS.begin("esp8266")) {
|
||||||
Serial.println("Error setting up MDNS responder!");
|
Serial.println("Error setting up MDNS responder!");
|
||||||
while(1) {
|
while(1) {
|
||||||
delay(1000);
|
delay(1000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user