Replaced delay(1) with yield()
This commit is contained in:
@@ -87,7 +87,7 @@ void WebResource::downloadFile(String url, String filename, ProgressCallback pro
|
|||||||
}
|
}
|
||||||
progressCallback(filename, total - len,total);
|
progressCallback(filename, total - len,total);
|
||||||
}
|
}
|
||||||
delay(1);
|
yield();
|
||||||
}
|
}
|
||||||
|
|
||||||
Serial.println();
|
Serial.println();
|
||||||
|
|||||||
Reference in New Issue
Block a user