Merge pull request #1396 from jonny5532/fix/sort-out-watchdogs

Readd watchdog (re)initialization code, disable idle timeouts, make AsyncTCP yield (discuss!)
This commit is contained in:
Daniel Öster 2025-08-14 19:37:44 +03:00 committed by GitHub
commit cf3db85d20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 22 additions and 6 deletions

View file

@ -228,6 +228,11 @@ void _asynctcpsock_task(void *)
sockList.clear();
xSemaphoreGiveRecursive(_asyncsock_mutex);
// Battery-Emulator modification: Yield so that other same-priority
// tasks on the same core get a turn, otherwise heavy HTTP traffic will
// exclude them.
taskYIELD();
}
vTaskDelete(NULL);