mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-27 01:56:14 +01:00
as no other tasks run on core1, yield() not necessary
This commit is contained in:
parent
e3bab887a2
commit
e7d3d92c23
|
@ -386,8 +386,9 @@ void WifiESP::loop() {
|
||||||
// prio task. On core1 this is not a problem
|
// prio task. On core1 this is not a problem
|
||||||
// as there the wdt is disabled by the
|
// as there the wdt is disabled by the
|
||||||
// arduio IDE startup routines.
|
// arduio IDE startup routines.
|
||||||
if (xPortGetCoreID() == 0)
|
if (xPortGetCoreID() == 0) {
|
||||||
feedTheDog0();
|
feedTheDog0();
|
||||||
yield();
|
yield();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif //ESP32
|
#endif //ESP32
|
||||||
|
|
Loading…
Reference in New Issue
Block a user