tomaja
tomaja
Yes, I also have this problem. I would like to disable WDT during setup() because setup waits for WiFi connection that is used to deliver settings for further operation. ets_wdt_disable()...
Oh, yes - delay works! Sorry for that, I didn't get that from README :( Спасибо, Иван!
delay() doesn't seem enough. I probably have more than 1s in between two delay calls. Yes, your proposition looks good (adding wdt_enable and wdt_disable). Can you add those two functions?...
@igrr Do you think this feature will be added? ``` void setup() { wdt_disable(); /// some initialization ThirdPartyLibrary.begin(); /// more stuff wdt_enable(); } ```
Great! Thanks, @igrr ! I just built Mac version from source and I checked that I can use `ESP.wdtDisable()` - script compiles just fine. My Prolific USB to Serial stopped...
From README: > "ESP.wdtEnable(), ESP.wdtDisable(), and ESP.wdtFeed() provide some control over the watchdog timer." _ESP.wdtFeed()_ shoud probably do the job.