From 6af809e419e0f66ac0448f41a99264706c39f55d Mon Sep 17 00:00:00 2001 From: Niklas Jensen Date: Sat, 31 Jan 2026 21:36:32 +0100 Subject: [PATCH] Reverted dumb sleep to yield --- esp32/src/filesystem_ws.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp32/src/filesystem_ws.cpp b/esp32/src/filesystem_ws.cpp index 921820f..6a7d585 100644 --- a/esp32/src/filesystem_ws.cpp +++ b/esp32/src/filesystem_ws.cpp @@ -276,7 +276,7 @@ void FileSystemHandler::handleDownloadRequest(const socket_message_FSDownloadReq ESP_LOGI(TAG, "Download started: %s, size=%u, chunks=%u, id=%u", path.c_str(), fileSize, totalChunks, transferId); while (sendNextDownloadChunk(transferId)) { - vTaskDelay(pdMS_TO_TICKS(5)); // Give network time to send (5 ms) + taskYIELD(); } }