Skip to content

Commit ba3d038

Browse files
joinedclaude
andcommitted
Fix web flasher reset: use correct esptool.js API
esploader.hardReset() doesn't exist — the correct method is esploader.after(), which defaults to "hard_reset" mode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b43a439 commit ba3d038

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/js/flash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ function initFlash() {
214214
await esploader.writeFlash(flashOptions);
215215

216216
log("Resetting device...");
217-
await esploader.hardReset();
217+
await esploader.after();
218218

219219
setProgress("Done!", 100);
220220
log("Flash complete! Device has been reset and should be booting.");

0 commit comments

Comments
 (0)