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
parent
commit
7aaacb739e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      code/espurna/ota.ino

+ 1
- 0
code/espurna/ota.ino View File

@ -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);


Loading…
Cancel
Save