From e7d3d92c23417898cfc3772339b1679ed5ed8b78 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Mon, 25 Dec 2023 17:40:29 +0100 Subject: [PATCH] as no other tasks run on core1, yield() not necessary --- WifiESP32.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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