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.
  • Loading branch information
Rushikesh Patange committed Oct 12, 2023
1 parent 3c67089 commit 88218ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions minimal-launchpad/minimal_ui_index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ async function downloadAndFlash() {
eraseAll: false,
compress: true,
};
await esploader.erase_flash();
await esploader.write_flash(flashOptions);
} catch (error) {
}
Expand Down

0 comments on commit 88218ae

Please sign in to comment.