tzapu / WiFiManager

ESP8266 WiFi Connection manager with web captive portal
http://tzapu.com/esp8266-wifi-connection-manager-library-arduino-ide/
MIT License
6.55k stars 1.97k forks source link

Update WiFiManager.cpp #1616

Open alexbadger opened 1 year ago

alexbadger commented 1 year ago

With ESP32-WROOM-32E-N16, a watchdog reset occurs which is caused by the 'while' loop in the StartConfigPortal function exceeding the watchdog timer in some cases. Adding a delay(0) into this 'while' loop feeds the watchdog and prevents a timeout reset for ESP32.