Fixed WDT reset occurrence

pull/83/head
Hieromon Ikasamo 5 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());
//Relocation as follows to make AutoConnect recognition.
MDNS.begin(host);
DBG_OUTPUT_PORT.print("Open http://");
DBG_OUTPUT_PORT.print(host);
DBG_OUTPUT_PORT.println(".local/edit to see the file browser");
if (MDNS.begin(host)) {
MDNS.addService("http", "tcp", 80);
DBG_OUTPUT_PORT.print("Open http://");
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){

Loading…
Cancel
Save