Skip to content

Commit

Permalink
add/minimal-launchpad: Added functional call to erase existing binari…
Browse files Browse the repository at this point in the history
…es before new flash. (#47)

Co-authored-by: Rushikesh Patange <[email protected]>
  • Loading branch information
RushikeshPatange and Rushikesh Patange authored Oct 16, 2023
1 parent 3c67089 commit c3e92b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minimal-launchpad/minimal_ui_index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async function downloadAndFlash() {
flashSize: "keep",
flashMode: undefined,
flashFreq: undefined,
eraseAll: false,
eraseAll: true, // Always erasing before flash
compress: true,
};
await esploader.write_flash(flashOptions);
Expand Down

0 comments on commit c3e92b5

Please sign in to comment.