diff --git a/WifiESP32.cpp b/WifiESP32.cpp index 1103dfc..c990495 100644 --- a/WifiESP32.cpp +++ b/WifiESP32.cpp @@ -386,8 +386,9 @@ void WifiESP::loop() { // prio task. On core1 this is not a problem // as there the wdt is disabled by the // arduio IDE startup routines. - if (xPortGetCoreID() == 0) + if (xPortGetCoreID() == 0) { feedTheDog0(); - yield(); + yield(); + } } #endif //ESP32