From 8f18cf20bdce589c61c0ae2a8f692046c78028bd Mon Sep 17 00:00:00 2001 From: Daniel Eichhorn Date: Thu, 18 May 2017 14:17:17 +0200 Subject: [PATCH] Replaced delay(1) with yield() --- WebResource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebResource.cpp b/WebResource.cpp index 0e668a2..a227e73 100644 --- a/WebResource.cpp +++ b/WebResource.cpp @@ -87,7 +87,7 @@ void WebResource::downloadFile(String url, String filename, ProgressCallback pro } progressCallback(filename, total - len,total); } - delay(1); + yield(); } Serial.println();