Skip to content

Commit

Permalink
Update index.ts - reset partition table when reading again
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth authored Dec 5, 2024
1 parent 008bfb7 commit 9a142ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/typescript/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ readFlashData.onclick = async () => {
};

readPartitionButton.onclick = async () => {
initializePartitionTable();
const hexOffset = partitionOffsetInput.value;
const offset = parseInt(hexOffset, 16);
try {
Expand Down

0 comments on commit 9a142ad

Please sign in to comment.