Reverted dumb sleep to yield

This commit is contained in:
Niklas Jensen
2026-01-31 21:36:32 +01:00
parent 9d8c79f9f8
commit 6af809e419
+1 -1
View File
@@ -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();
}
}