Skip to content

Commit

Permalink
fix const/let swap
Browse files Browse the repository at this point in the history
  • Loading branch information
g3gg0 authored Oct 10, 2023
1 parent 16162fe commit b30774c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ export class ESPLoader {
throw new ESPError("Failed to read memory: " + res);
}

const resp = new Uint8Array(0);
let resp = new Uint8Array(0);
while (resp.length < size) {
const packet = await this.transport.read(this.FLASH_READ_TIMEOUT);

Expand Down

0 comments on commit b30774c

Please sign in to comment.