From 874986f7161c16181a0f90b4bb48ad52f2c72f2b Mon Sep 17 00:00:00 2001 From: Max Prokhorov Date: Sat, 5 Jan 2019 02:34:47 +0300 Subject: [PATCH] yield after handling OTA request --- code/espurna/ota.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/code/espurna/ota.ino b/code/espurna/ota.ino index 4dc015a9..a6dcaeb5 100644 --- a/code/espurna/ota.ino +++ b/code/espurna/ota.ino @@ -118,6 +118,7 @@ void _otaFrom(const char * host, unsigned int port, const char * url) { _ota_size += len; DEBUG_MSG_P(PSTR("[OTA] Progress: %u bytes\r"), _ota_size); + delay(0); }, NULL);