Merge pull request #31 from pkendall64/fix-erase

Fix for erase causing error
This commit is contained in:
Adwait 2022-07-18 17:11:31 +05:30 committed by GitHub
commit 7420f2c0e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -767,7 +767,7 @@ class ESPLoader {
}
if (this.IS_STUB === true && erase_all === true) {
this.erase_flash();
await this.erase_flash();
}
let image, address;
for (var i = 0; i < fileArray.length; i++) {