Fixed WDT reset occurrence

pull/83/head
Hieromon Ikasamo 6 years ago
parent 97679c17c3
commit 2bdca1120c
  1. 13
      examples/FSBrowser/FSBrowser.ino

@ -337,10 +337,15 @@ void setup(void){
DBG_OUTPUT_PORT.println(WiFi.localIP()); DBG_OUTPUT_PORT.println(WiFi.localIP());
//Relocation as follows to make AutoConnect recognition. //Relocation as follows to make AutoConnect recognition.
MDNS.begin(host); if (MDNS.begin(host)) {
DBG_OUTPUT_PORT.print("Open http://"); MDNS.addService("http", "tcp", 80);
DBG_OUTPUT_PORT.print(host); DBG_OUTPUT_PORT.print("Open http://");
DBG_OUTPUT_PORT.println(".local/edit to see the file browser"); DBG_OUTPUT_PORT.print(host);
DBG_OUTPUT_PORT.println(".local/edit to see the file browser");
}
else {
DBG_OUTPUT_PORT.print("mDNS start failed");
}
} }
void loop(void){ void loop(void){

Loading…
Cancel
Save