Browse Source
Merge pull request #1471 from mcspr/ota/yield-on-upload
yield() after handling OTA request
refactor-terminal
Xose Pérez
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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); |
|
|
|
|
|
|
|