Browse Source

don't restart on mqtt connection error

main
Hendrik Langer 6 years ago
parent
commit
5131b84443
  1. 4
      src/main.cpp

4
src/main.cpp

@ -362,8 +362,8 @@ void ICACHE_FLASH_ATTR sendValues() {
DEBUG_MSG("."); DEBUG_MSG(".");
if (tries*retry_delay >= max_retry_delay) { if (tries*retry_delay >= max_retry_delay) {
DEBUG_MSG(" [ERROR]\n"); DEBUG_MSG(" [ERROR]\n");
DEBUG_MSG("Rebooting..\n"); //DEBUG_MSG("Rebooting..\n");
ESP.restart(); //ESP.restart();
} }
delay(retry_delay); delay(retry_delay);
} }

Loading…
Cancel
Save