Skip to content

Commit 527d192

Browse files
committed
Update index.ts - reset partition table when reading again
1 parent 6e8894a commit 527d192

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/typescript/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ readFlashData.onclick = async () => {
291291
};
292292

293293
readPartitionButton.onclick = async () => {
294+
initializePartitionTable();
294295
const hexOffset = partitionOffsetInput.value;
295296
const offset = parseInt(hexOffset, 16);
296297
try {

0 commit comments

Comments
 (0)