It would appear that the wdt.Feed(wdt.Reset) function does not work after all.I can only get enable and disable to work.
extern "C" {
#include "user_interface.h"
}
void setup(){
//ESP.wdtDisable();
ESP.wdtEnable();
Serial.begin(9600);
}
void loop(){
while(1){
ESP.wdtFeed();
//delay(0);
}
}
when I run attached program data is printed out on the serial port approx. every 3 sec indicating that the watchdog is not being reset. If you comment out the delay(0) and run the program the watchdog resets.
So it would seem ,for now, that you can only indirectly reset the watchdog.
Gerry