1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-30 03:26:13 +01:00

as no other tasks run on core1, yield() not necessary

This commit is contained in:
Harald Barth 2023-12-25 17:40:29 +01:00
parent e3bab887a2
commit e7d3d92c23

View File

@ -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